From patchwork Wed Jan 9 17:53:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 1953861 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id F420F3FC5A for ; Wed, 9 Jan 2013 17:53:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932148Ab3AIRxJ (ORCPT ); Wed, 9 Jan 2013 12:53:09 -0500 Received: from mail-lb0-f202.google.com ([209.85.217.202]:51058 "EHLO mail-lb0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217Ab3AIRxI (ORCPT ); Wed, 9 Jan 2013 12:53:08 -0500 Received: by mail-lb0-f202.google.com with SMTP id s4so127026lbc.1 for ; Wed, 09 Jan 2013 09:53:06 -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=idlS10ZXu0/iP1xMPoJzvl1XxvNCRSUltLM6M81MiTs=; b=VwOj1MtLBE4MQP81785Ia8qqxhshFosWjzSQgyyUGmpeYrgbjVcRo1w3tnRY0MIuJU XNKTcZn8OFMYpssMG450hg3sFZX+EbjvB+4dcdBdHWqgPQO2fG8fOl01oj4ldCFirzhp clL5Q4DGFhOmhYQRhIzwIt2tfLVsK/4ULnfiroVcUFvMsRfsy2ZxgU/SKdPa+YkhZgbO BmMmEOmEfTDzF8z6or+IUiSOTGPtUOFa4xPrXMfdorg5ixhHV/naXWdj6MIrVDKRJUl+ FDoeI2PakqcsfJ8SEkc3L5GBW7JAH3SfFDbSrMP0NiFqDN/HS0dFXaqqB/wCh7GO8mw2 jnNg== 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=idlS10ZXu0/iP1xMPoJzvl1XxvNCRSUltLM6M81MiTs=; b=FBYurknVqkmmlbxBLvQPCJ45eoBmjRqwUouFK+XYetlsq4j5iS8avmZ+uTRzPLLux8 /LvidTI3w+42KViUkMUKZdwvsGaNZqdU5E2o9JIrnbQDbaD3kj6bOQTdou4IexnDsbJ0 1wNgQ5c+4V5Dm5L5aBtziupiE3Au/1RG0Kdac9F0OmASgmk2n8buPoexk1XxzRz7PEge wLvl0oE5Xqtja2c4vuOkIvN6e9iqVBgdS7toR62qpY2rbC3GfKCJHCvOIg1D8MJ3WZqS 2oaucWXR7zwhkAg2SQvGSgsK1Eo693rnXaW1Ea5RfIfYFJgBtFAuj1Ap3fTVFHI4YIus 7h3g== X-Received: by 10.180.74.79 with SMTP id r15mr1011919wiv.4.1357753986780; Wed, 09 Jan 2013 09:53:06 -0800 (PST) Received: from hpza10.eem.corp.google.com ([74.125.121.33]) by gmr-mx.google.com with ESMTPS id co7si385408wib.1.2013.01.09.09.53.06 (version=TLSv1/SSLv3 cipher=AES128-SHA); Wed, 09 Jan 2013 09:53:06 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (bhelgaas.mtv.corp.google.com [172.17.131.112]) by hpza10.eem.corp.google.com (Postfix) with ESMTP id 78411200059; Wed, 9 Jan 2013 09:53:06 -0800 (PST) Received: from bhelgaas.mtv.corp.google.com (unknown [IPv6:::1]) by bhelgaas.mtv.corp.google.com (Postfix) with ESMTP id CD028180190; Wed, 9 Jan 2013 09:53:05 -0800 (PST) Subject: [PATCH 3/5] mn10300/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:05 -0700 Message-ID: <20130109175305.13904.82833.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: ALoCoQluMyPxyi5n3V8r444Q7NNHz2AQImsJr6wXTBG5IaFpoGRMgasq44zzX3XxOF6E6nSw/Eizvtcn3Wyrier1Xp/9EpaiLbb4rBpmbZzK4J2DX+ITZGO0G8n0f0/TPO69QBdb1MFKrs9I3dJ7o36FYzvYAIMZcvcg9ykD5biR+SZm8kIwb9VuMndJt7w7rWrU+3HqviP9gxIhodswJ3tptcLmKG6apg== 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/mn10300/unit-asb2305/pci-asb2305.h | 1 - arch/mn10300/unit-asb2305/pci.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/mn10300/unit-asb2305/pci-asb2305.h b/arch/mn10300/unit-asb2305/pci-asb2305.h index 1194fe4..7fa66a0 100644 --- a/arch/mn10300/unit-asb2305/pci-asb2305.h +++ b/arch/mn10300/unit-asb2305/pci-asb2305.h @@ -36,7 +36,6 @@ extern void pcibios_resource_survey(void); /* pci.c */ extern int pcibios_last_bus; -extern struct pci_bus *pci_root_bus; extern struct pci_ops *pci_root_ops; extern struct irq_routing_table *pcibios_get_irq_routing_table(void); diff --git a/arch/mn10300/unit-asb2305/pci.c b/arch/mn10300/unit-asb2305/pci.c index e205948..426bf51 100644 --- a/arch/mn10300/unit-asb2305/pci.c +++ b/arch/mn10300/unit-asb2305/pci.c @@ -24,7 +24,6 @@ unsigned int pci_probe = 1; int pcibios_last_bus = -1; -struct pci_bus *pci_root_bus; struct pci_ops *pci_root_ops; /* @@ -377,8 +376,7 @@ static int __init pcibios_init(void) pci_add_resource_offset(&resources, &pci_ioport_resource, io_offset); pci_add_resource_offset(&resources, &pci_iomem_resource, mem_offset); - pci_root_bus = pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, - &resources); + pci_scan_root_bus(NULL, 0, &pci_direct_ampci, NULL, &resources); pcibios_irq_init(); pcibios_fixup_irqs();