From patchwork Wed Jan 9 17:53:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 210805 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id AE5802C0176 for ; Thu, 10 Jan 2013 04:53:04 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932317Ab3AIRxD (ORCPT ); Wed, 9 Jan 2013 12:53:03 -0500 Received: from mail-vc0-f201.google.com ([209.85.220.201]:59282 "EHLO mail-vc0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217Ab3AIRxB (ORCPT ); Wed, 9 Jan 2013 12:53:01 -0500 Received: by mail-vc0-f201.google.com with SMTP id p1so263045vcq.2 for ; Wed, 09 Jan 2013 09:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=BaZFPCF2GaBvG514SUcnhs7QotT2189wu5AAVcAbLKQ=; b=Jfb0OfM6a2FpAULtvnyQUlYuC1STcKobI1six8N+MgXIEwKold86QsjqJM6XqMLebb ggdgHxT0WuBDCjjaTngwqPjBKxSiL473wPTjR4mH7hxz1WvVR7gRXIc8vYXpPdCPtbvG twkvXa4BFETImL2RUO1hyolWLC7nVcALCVvkiMfh9VuHMQ1t2sEQFjcJ2cW59FEmpEOi bmFi9mojvJnhusHZcSw5a94Tv01SWtBtyQZonSa5lABTWdXLbSEngar+xvvV8VDSsIZ8 zcNL89T6wh3DbgZqgEzGCFe0rl1tJKMvItAYMVrmUX35yIHLXOZCthaL7+DfEa5Bghf8 1Inw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:to:from:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=BaZFPCF2GaBvG514SUcnhs7QotT2189wu5AAVcAbLKQ=; b=gLaOGdS2dRATIccFly8AS4bVJEg9VBifqfLEmBNqNJbMt2eXfBOK/YILwfSgehiZcI Rd0Jy7voWN7o50CVXAEjI8CSra29CDcGswAWqO02AZsvWwAtP4NgpTMpf6R65aATgpUK 4b3irlme+2zxM+VQSI14rQW2HGB6WYmnoart7KWjyivdvpRhXqTcEcURa9KfgeobfVH1 LGlb20w+YY56VJtZqAwe4664eNFtg0UkNe58d4nYAJ2+GR+Usx/JpkvLMFRpomWccQUz /BACEUHJJ5aoplmttmZ0aymVV5eub3wuXxuFc/NrT1U2kETdjrKvLG6c0ZPMvx5Mevns IpRA== X-Received: by 10.236.200.65 with SMTP id y41mr37814001yhn.36.1357753980887; Wed, 09 Jan 2013 09:53:00 -0800 (PST) Received: from wpzn4.hot.corp.google.com (216-239-44-65.google.com [216.239.44.65]) by gmr-mx.google.com with ESMTPS id a24si3363714yhi.0.2013.01.09.09.53.00 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 09 Jan 2013 09:53:00 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.17.131.112]) by wpzn4.hot.corp.google.com (Postfix) with ESMTP id C40ED820050; Wed, 9 Jan 2013 09:53:00 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id 7E3E9180190; Wed, 9 Jan 2013 09:53:00 -0800 (PST) Subject: [PATCH 2/5] frv/PCI: Remove unused pci_root_bus To: linux-pci@vger.kernel.org From: Bjorn Helgaas Cc: David Howells , Koichi Yasutake , x86@kernel.org Date: Wed, 09 Jan 2013 10:53:00 -0700 Message-ID: <20130109175300.13904.34950.stgit@bhelgaas.mtv.corp.google.com> In-Reply-To: <20130109175151.13904.84252.stgit@bhelgaas.mtv.corp.google.com> References: <20130109175151.13904.84252.stgit@bhelgaas.mtv.corp.google.com> User-Agent: StGit/0.15 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQm3ShpPTr2B2Tud6yL3QQJqCR8bcJEZ3yY7oAibzTjT5KrEEIfM6r4NFtSOfo7BRud/b6aQh9Tiy95Z998QrjWNNfZBKEJ17pxQkwkUuJir7KlUsoQuO41U4xhdab6GiVfIty7j1UIs4vYM9yNvVXhXBpmOKlBSrSNuZF+Wr0KbZATCkitbKbzi+m7mzKE5PKFYkSCwtphiHpSB+HgO1i3+hn8B/A== Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org pci_root_bus is unused, so remove all references to it. Signed-off-by: Bjorn Helgaas --- arch/frv/mb93090-mb00/pci-frv.h | 1 - arch/frv/mb93090-mb00/pci-vdk.c | 4 +--- 2 files changed, 1 insertions(+), 4 deletions(-) -- 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/frv/mb93090-mb00/pci-frv.h b/arch/frv/mb93090-mb00/pci-frv.h index 089eeba..76c4e73 100644 --- a/arch/frv/mb93090-mb00/pci-frv.h +++ b/arch/frv/mb93090-mb00/pci-frv.h @@ -31,7 +31,6 @@ void pcibios_resource_survey(void); /* pci-vdk.c */ extern int __nongpreldata pcibios_last_bus; -extern struct pci_bus *__nongpreldata pci_root_bus; extern struct pci_ops *__nongpreldata pci_root_ops; /* pci-irq.c */ diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index 71e9bcf..1152a1e 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c @@ -26,7 +26,6 @@ unsigned int __nongpreldata pci_probe = 1; int __nongpreldata pcibios_last_bus = -1; -struct pci_bus *__nongpreldata pci_root_bus; struct pci_ops *__nongpreldata pci_root_ops; /* @@ -416,8 +415,7 @@ int __init pcibios_init(void) printk("PCI: Probing PCI hardware\n"); pci_add_resource(&resources, &pci_ioport_resource); pci_add_resource(&resources, &pci_iomem_resource); - pci_root_bus = pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, - &resources); + pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); pcibios_irq_init(); pcibios_fixup_peer_bridges();