From patchwork Tue Jun 10 16:08:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 31684 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4AF752100A for ; Tue, 10 Jun 2014 16:49:02 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id lx4sf10099462iec.8 for ; Tue, 10 Jun 2014 09:49:01 -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:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=5dw5+93AjQXTkRGsPpiHSYxrjKtdvDmrVfVR2WUn3Bs=; b=SXdbwZxdYoimCAu23yZZLOnM0uhqvwqcC7btPc/H4pEg+gX3cecUP3vSb9NinB/lsG cORXXcBkbP9yY4f2IvQVm1o5dkS7bR4IfqjS4nsjzi1vpl5Uge+w1bsz9ItpFzlYNSxA dtJBlGso2W+kltj1EJO7MyUY8AEreeZp3VXmmJM8nhSXsbdBStqhRiG1DhHj9bz38v99 sXo4YR1oBLMI1mhN/lja96INpKL68cHHIpcUhDpZoECEujp1dK9qtiIfQyce3mUF4cw0 W5HpKcQvCn63QRwn6/mVT1AULuwCfo6eNWJ4TJREw6H4lg5ucT14j3n+sIIwe4LHjD27 Q+lQ== X-Gm-Message-State: ALoCoQkWhTYNYuk6ZAMyBdAV6qkQKahii4RjeTusjsPZrQDpNN+BCJPcZt08NrXXsdXvwUa47oBI X-Received: by 10.182.87.3 with SMTP id t3mr2177388obz.20.1402418941893; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.115 with SMTP id s106ls2300398qgd.49.gmail; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) X-Received: by 10.58.29.106 with SMTP id j10mr34109631veh.31.1402418941719; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id yh7si13241690vdc.93.2014.06.10.09.49.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id us18so6255994veb.20 for ; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) X-Received: by 10.52.35.69 with SMTP id f5mr1455463vdj.83.1402418941656; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.54.6 with SMTP id vs6csp240003vcb; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) X-Received: by 10.224.166.9 with SMTP id k9mr43662287qay.25.1402418941201; Tue, 10 Jun 2014 09:49:01 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id n4si28307943qai.44.2014.06.10.09.49.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Jun 2014 09:49:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:41271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPEK-0002zd-Pb for patch@linaro.org; Tue, 10 Jun 2014 12:49:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPDM-00020f-3p for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:48:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuPDH-0007UQ-7L for qemu-devel@nongnu.org; Tue, 10 Jun 2014 12:48:00 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:40807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuPDG-0007Ts-Va; Tue, 10 Jun 2014 12:47:55 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8E29F412CE; Tue, 10 Jun 2014 20:47:53 +0400 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 471636BB; Tue, 10 Jun 2014 20:08:48 +0400 (MSK) Received: (nullmailer pid 13313 invoked by uid 1000); Tue, 10 Jun 2014 16:08:47 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Tue, 10 Jun 2014 20:08:29 +0400 Message-Id: <1402416523-13212-12-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1402416523-13212-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Tokarev Subject: [Qemu-devel] [PULL 11/25] hw/intc/openpic: Remove unused function IRQ_testbit() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mjt@tls.msk.ru 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.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Peter Maydell The IRQ_testbit() function is never used; remove it. Signed-off-by: Peter Maydell Signed-off-by: Michael Tokarev --- 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;