From patchwork Thu May 29 11:01:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 31115 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4750320068 for ; Thu, 29 May 2014 11:01:53 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id hq11sf643043vcb.6 for ; Thu, 29 May 2014 04:01:52 -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=hi9s3p4ANLMsgJQeXZbCX7VdtFndy+tM8syLk6ytGYQ=; b=eZuXv7wEKPbvdLoniGZO0sXGhVEjVsvB1HAF+O442VD8skaPicyqJohNXlh03x8LvY C998JNYWzbJsgbj/Y3MWCFq63iBB6qGoL4j47vOA81VYbLBUbjnBbvn+AWMT5hBUC2Os +xPOX/eciLtUfLSs2fqEaAHD2T6ujPxeTi6K3jHKboOO3HBGM5WdjjJm4CqD4bAal0d6 QkaglCNruIbGMwfHB0P5twm4ytRIqgOcUva3mIzW2iWvJSn9krnTmK/HOHvMXxHhgn4f MtEpXxNjNOQWZ4PrZchDBsk22qfdJXROrAkxm3w5R/1WecLqeH7W4bxJNKKGL37C7/X3 kWaw== X-Gm-Message-State: ALoCoQlBmTJ+Dyz4nwvUONxeZ966r8zEYkyhDe248ObGLeE9ZNrr/F2wcxzFD4Dq44vt2rB/mmiS X-Received: by 10.224.90.2 with SMTP id g2mr2444468qam.1.1401361312888; Thu, 29 May 2014 04:01:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.50.143 with SMTP id s15ls477492qga.33.gmail; Thu, 29 May 2014 04:01:52 -0700 (PDT) X-Received: by 10.58.29.106 with SMTP id j10mr5467175veh.31.1401361312820; Thu, 29 May 2014 04:01:52 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id d9si174028vcq.66.2014.05.29.04.01.52 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 29 May 2014 04:01:52 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id ik5so167225vcb.17 for ; Thu, 29 May 2014 04:01:52 -0700 (PDT) X-Received: by 10.221.30.14 with SMTP id sa14mr686602vcb.44.1401361312701; Thu, 29 May 2014 04:01:52 -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.220.221.72 with SMTP id ib8csp18908vcb; Thu, 29 May 2014 04:01:52 -0700 (PDT) X-Received: by 10.180.24.68 with SMTP id s4mr10755382wif.12.1401361311886; Thu, 29 May 2014 04:01:51 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id jk20si20079766wic.0.2014.05.29.04.01.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 29 May 2014 04:01:51 -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 1Wpy5l-0006kY-Ms; Thu, 29 May 2014 12:01:49 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-trivial@nongnu.org, Anthony Liguori , "Michael S. Tsirkin" Subject: [PATCH] hw/i386/pc.c: Remove unused parallel_io and parallel_irq variables Date: Thu, 29 May 2014 12:01:49 +0100 Message-Id: <1401361309-25921-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.220.172 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 variables parallel_io and parallel_irq are unused; delete them. Signed-off-by: Peter Maydell Reviewed-by: Michael S. Tsirkin --- hw/i386/pc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index e6369d5..32d1632 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -922,9 +922,6 @@ static const int ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340, 0x360, 0x280, 0x380 }; static const int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 }; -static const int parallel_io[MAX_PARALLEL_PORTS] = { 0x378, 0x278, 0x3bc }; -static const int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; - void pc_init_ne2k_isa(ISABus *bus, NICInfo *nd) { static int nb_ne2k = 0;