From patchwork Fri Jan 30 21:59:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5752981 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D4950BF440 for ; Fri, 30 Jan 2015 21:59:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1910A202A1 for ; Fri, 30 Jan 2015 21:59:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43E0D20274 for ; Fri, 30 Jan 2015 21:59:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763237AbbA3V7b (ORCPT ); Fri, 30 Jan 2015 16:59:31 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:61470 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754194AbbA3V7b (ORCPT ); Fri, 30 Jan 2015 16:59:31 -0500 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0M1WmX-1XNpUh3f9F-00tSJP; Fri, 30 Jan 2015 22:59:22 +0100 From: Arnd Bergmann To: Bjorn Helgaas Cc: linux-arm-kernel@lists.infradead.org, Rob Herring , linux-pci@vger.kernel.org Subject: [PATCH] ARM: integrator: remove unused variable Date: Fri, 30 Jan 2015 22:59:21 +0100 Message-ID: <1666566.z9ZP4KJ7VA@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:r7Fv4lwVTcUPqT+HTyy7j63OOgDzv73n7oSwTfdmXzLmPFXsqIQ PqjGoF/w4AxLL3EuiWuJ5nXYLyckMjpG8JO3ndMBvFRlG+0BEMWgzWausDTHHpMrH1PUe8R tP1/IojjpwYYecv8BBz9eAErKg8tXF/F7o3BI9iTRfARhc9Uxc8YOZzK3jJ85VZuoTLUIph yykBATsJDhsCJtdq6Z8uQ== X-UI-Out-Filterresults: notjunk:1; Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 patch to add the new generic config space accessors removed a useless spinlock, but left the flags variable in place, which now causes a build warning: arch/arm/mach-integrator/pci_v3.c: In function 'pci_v3_preinit': arch/arm/mach-integrator/pci_v3.c:614:16: warning: unused variable 'flags' [-Wunused-variable] This removes it. Signed-off-by: Arnd Bergmann Fixes: 1ba525109219 ("ARM: integrator: Convert PCI to use generic config accessors") --- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index dc7782f26cbb..2565f0e7b5cf 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c @@ -611,7 +611,6 @@ static int __init pci_v3_setup(int nr, struct pci_sys_data *sys) */ static void __init pci_v3_preinit(void) { - unsigned long flags; unsigned int temp; phys_addr_t io_address = pci_pio_to_address(io_mem.start);