lkml.org 
[lkml]   [2015]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/4] kvm/ppc/mpic: drop unused IRQ_testbit
    Date
    Drop unused static procedure which doesn't have callers within its
    translation unit. It had been already removed independently in QEMU[1]
    from the OpenPIC implementation borrowed from the kernel.

    [1] https://lists.gnu.org/archive/html/qemu-devel/2014-06/msg01812.html

    Signed-off-by: Arseny Solokha <asolokha@kb.kras.ru>
    Cc: Alexander Graf <agraf@suse.de>
    Cc: Gleb Natapov <gleb@kernel.org>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    ---
    arch/powerpc/kvm/mpic.c | 5 -----
    1 file changed, 5 deletions(-)

    diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c
    index 39b3a8f..a480d99 100644
    --- a/arch/powerpc/kvm/mpic.c
    +++ b/arch/powerpc/kvm/mpic.c
    @@ -289,11 +289,6 @@ static inline void IRQ_resetbit(struct irq_queue *q, int n_IRQ)
    clear_bit(n_IRQ, q->queue);
    }

    -static inline int IRQ_testbit(struct irq_queue *q, int n_IRQ)
    -{
    - return test_bit(n_IRQ, q->queue);
    -}
    -
    static void IRQ_check(struct openpic *opp, struct irq_queue *q)
    {
    int irq = -1;
    --
    2.3.0


    \
     
     \ /
      Last update: 2015-02-24 10:21    [W:4.390 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site