Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752769AbbBXJFw (ORCPT ); Tue, 24 Feb 2015 04:05:52 -0500 Received: from ispman.iskranet.ru ([62.213.33.10]:40980 "EHLO ispman.iskranet.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751485AbbBXJFY (ORCPT ); Tue, 24 Feb 2015 04:05:24 -0500 From: Arseny Solokha To: Benjamin Herrenschmidt Cc: Paul Mackerras , Michael Ellerman , Scott Wood , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Arseny Solokha , Alexander Graf , Gleb Natapov , Paolo Bonzini Subject: [PATCH 2/4] kvm/ppc/mpic: drop unused IRQ_testbit Date: Tue, 24 Feb 2015 16:05:04 +0700 Message-Id: <1424768706-23150-3-git-send-email-asolokha@kb.kras.ru> X-Mailer: git-send-email 2.3.0 In-Reply-To: <1424768706-23150-1-git-send-email-asolokha@kb.kras.ru> References: <1424084188-17097-1-git-send-email-asolokha@kb.kras.ru> <1424768706-23150-1-git-send-email-asolokha@kb.kras.ru> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1224 Lines: 38 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 Cc: Alexander Graf Cc: Gleb Natapov Cc: Paolo Bonzini --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/