From patchwork Sat Jun 7 16:50:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 31518 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id F0A5E2100A for ; Sat, 7 Jun 2014 16:50:24 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id l13sf7142323iga.3 for ; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=NiNddFrHAbKMA6cmRIiZvkhKTQ7jFfBy7iggvFl5cEs=; b=Yc/wgjIPUgjLgDsFF434wZ4EQGgSVYnFcrZ4fFw4+eXswWOuj/y4OEKgmRMF7BWT5x 8Fs11tD16JzNZ+zUYAvfklQ0IS8haCd2LFqK0/ajG/h/cjd/6HDWbQuSZnvd5s4f2jZQ 7ld13IVI/Dr+4i/FUHncAF4tn2hTf3bFMLlPqvjj6AtFmtU0k2f3mxpJ7c2rPbXVB6U0 l7Nxak8QGylsQqn/1MHAucHlHsCjABXcbJ5XkkeATCco/H1klgnyewxA9ip8egtkNAZK lNzbitSvtBSn7sEe3kz3t/t/BwZOpnBh4ZeGxbbBQGmhBgyn0ueWdtXwsmMKZkZdwNRf gHmA== X-Gm-Message-State: ALoCoQlTKUID3JX13YBYw5PAY6oumeboNmY9Q4krOAZW2NVNUyeyMLF2CykATc9usNsRawXqdRFz X-Received: by 10.182.104.161 with SMTP id gf1mr7352015obb.45.1402159824455; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.89.104 with SMTP id u95ls1047824qgd.5.gmail; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) X-Received: by 10.220.92.135 with SMTP id r7mr14046825vcm.11.1402159824340; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id jc7si5371908vdb.66.2014.06.07.09.50.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Jun 2014 09:50:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id pa12so4817585veb.40 for ; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) X-Received: by 10.220.105.136 with SMTP id t8mr2201227vco.13.1402159824226; Sat, 07 Jun 2014 09:50:24 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp29403vcb; Sat, 7 Jun 2014 09:50:23 -0700 (PDT) X-Received: by 10.180.108.106 with SMTP id hj10mr7468586wib.28.1402159823319; Sat, 07 Jun 2014 09:50:23 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id j1si23311916wjx.36.2014.06.07.09.50.22 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 07 Jun 2014 09:50:23 -0700 (PDT) Received-SPF: none (google.com: pm215@archaic.org.uk does not designate permitted sender hosts) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1WtJp0-0003a0-Jc; Sat, 07 Jun 2014 17:50:22 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-trivial@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH] hw/intc/openpic: Remove unused function IRQ_testbit() Date: Sat, 7 Jun 2014 17:50:22 +0100 Message-Id: <1402159822-13735-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The IRQ_testbit() function is never used; remove it. Signed-off-by: Peter Maydell --- hw/intc/openpic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c index 17136c9..08e0e19 100644 --- a/hw/intc/openpic.c +++ b/hw/intc/openpic.c @@ -311,11 +311,6 @@ static inline void IRQ_resetbit(IRQQueue *q, int n_IRQ) clear_bit(n_IRQ, q->queue); } -static inline int IRQ_testbit(IRQQueue *q, int n_IRQ) -{ - return test_bit(n_IRQ, q->queue); -} - static void IRQ_check(OpenPICState *opp, IRQQueue *q) { int irq = -1;