From patchwork Wed Dec 4 10:22:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 3281621 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9E861C0D4A for ; Wed, 4 Dec 2013 10:24:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7DBD32044C for ; Wed, 4 Dec 2013 10:24:19 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 41CD920445 for ; Wed, 4 Dec 2013 10:24:18 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vo9cp-000868-K6; Wed, 04 Dec 2013 10:24:11 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vo9cn-000892-0Q; Wed, 04 Dec 2013 10:24:09 +0000 Received: from mail-bk0-x235.google.com ([2a00:1450:4008:c01::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vo9cj-00087u-RL for linux-arm-kernel@lists.infradead.org; Wed, 04 Dec 2013 10:24:06 +0000 Received: by mail-bk0-f53.google.com with SMTP id na10so6447728bkb.40 for ; Wed, 04 Dec 2013 02:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LVhRYa9i3TmOI8SVhX0dAZlX4w2zmUUBUUIhE31Zukk=; b=yUny0aM6Xo9pJot5RqNmdGPIjqi9OzxWWw7vwicTU65YgVOrcckBFWhPFd4+gUhml1 b4JfnnsSCwWj6G+UHRhIYt83TogF2qQCUe7U2Y6nbjIBiwcWSqLYbVgVxlxOgND9sL7Q D9iIEGmHeoyL8UwLWat7R6KLXzNhxrBptn+M2VQ6SOAIhpSSgdm4Dm9NPjEzZH3cjNsh aXRzm0cDtdwtTEamdvXlQMMekxYaBKB4jErzmwHbMkQGfw9MaWjKff3KRaDz0LIhbly7 71+4f+6WjjLvBdXgQO7EUAPmutNErffOdA0v6JS8Pr81MJ+jZnZqNRceK2qTMTC/GVAb YyDA== X-Received: by 10.205.73.7 with SMTP id yq7mr83709bkb.164.1386152623833; Wed, 04 Dec 2013 02:23:43 -0800 (PST) Received: from localhost (port-56037.pppoe.wtnet.de. [46.59.219.153]) by mx.google.com with ESMTPSA id qe6sm81236312bkb.5.2013.12.04.02.23.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Dec 2013 02:23:42 -0800 (PST) From: Thierry Reding To: Eric Miao , Russell King , Haojian Zhuang Subject: [PATCH] ARM: pxa: Remove unused variables Date: Wed, 4 Dec 2013 11:22:45 +0100 Message-Id: <1386152565-26524-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 1.8.4.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131204_052406_006532_2CD44FDF X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Daniel Mack X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The conf and of_id variables are assigned but never used, so they may as well just be removed. Signed-off-by: Thierry Reding Acked-by: Daniel Mack --- arch/arm/mach-pxa/irq.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c index b6cc1816463e..0eecd83c624e 100644 --- a/arch/arm/mach-pxa/irq.c +++ b/arch/arm/mach-pxa/irq.c @@ -235,8 +235,6 @@ static const struct of_device_id intc_ids[] __initconst = { void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) { struct device_node *node; - const struct of_device_id *of_id; - struct pxa_intc_conf *conf; struct resource res; int n, ret; @@ -245,8 +243,6 @@ void __init pxa_dt_irq_init(int (*fn)(struct irq_data *, unsigned int)) pr_err("Failed to find interrupt controller in arch-pxa\n"); return; } - of_id = of_match_node(intc_ids, node); - conf = of_id->data; ret = of_property_read_u32(node, "marvell,intc-nr-irqs", &pxa_internal_irq_nr);