Message ID | 1409911806-10519-3-git-send-email-wangyijing@huawei.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDP3JFH37QKRBLUOU2QAKGQEJZDFCZA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4B487202E4 for <linaro@patches.linaro.org>; Fri, 5 Sep 2014 09:49:34 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id b6sf39284477yha.1 for <linaro@patches.linaro.org>; Fri, 05 Sep 2014 02:49:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=HryC2dhTBInylR09jXKsBwAINkFB/sGKGkNA/6Cj434=; b=GEaxI/HERZkcifjWKb5y1nSpxiY38VtYLAneGieuCT2P7ppVtBrB0GYQbXwworw5Ao 3CAVA7jt86Js1r/pmvzqKYTIljVb5nO5Kl8wumC/hDliw8bLqIsR2WtUOLsyS9dju1sD VG/Lr4/iMhAPmoP4nbYCU5GzCqUlbijnA7LeFjDsgSxYo9McKkAf/Ue6lbXaR/8kbd+n gufI6LD2gZPsKTl8weRwhMDdgenGHwN61MyFviwchUDQSSbPDZCT60EntqqcVM8AX/xV 021fcG3+oMxY+1LekD429T8HjDbK2cNvJwXmrc4cP+ihVBb/uxX9kcFlrCEhx2Ghnhcw 5dyg== X-Gm-Message-State: ALoCoQkLRRflaEUHC15H9+QZIIvUH1lsPngFwrmorexCgFY4+bXNXHQS8Ybk4x+llh+i2fgn6qF3 X-Received: by 10.224.67.135 with SMTP id r7mr6252179qai.5.1409910574113; Fri, 05 Sep 2014 02:49:34 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.87 with SMTP id b81ls638589qga.19.gmail; Fri, 05 Sep 2014 02:49:34 -0700 (PDT) X-Received: by 10.52.1.39 with SMTP id 7mr7779707vdj.17.1409910573990; Fri, 05 Sep 2014 02:49:33 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id sm14si827633vdb.78.2014.09.05.02.49.33 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 02:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.169 as permitted sender) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id hq11so12108667vcb.14 for <patchwork-forward@linaro.org>; Fri, 05 Sep 2014 02:49:33 -0700 (PDT) X-Received: by 10.220.184.70 with SMTP id cj6mr9188573vcb.5.1409910573761; Fri, 05 Sep 2014 02:49:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp56761vcb; Fri, 5 Sep 2014 02:49:33 -0700 (PDT) X-Received: by 10.140.105.37 with SMTP id b34mr15915287qgf.1.1409910572994; Fri, 05 Sep 2014 02:49:32 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id z105si917130qge.31.2014.09.05.02.49.32 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 05 Sep 2014 02:49:32 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1XPq8D-0005Mx-MS; Fri, 05 Sep 2014 09:48:37 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <wangyijing@huawei.com>) id 1XPq8C-0005Me-Js for xen-devel@lists.xenproject.org; Fri, 05 Sep 2014 09:48:36 +0000 Received: from [85.158.137.68:54159] by server-5.bemta-3.messagelabs.com id 3E/4B-30889-3F689045; Fri, 05 Sep 2014 09:48:35 +0000 X-Env-Sender: wangyijing@huawei.com X-Msg-Ref: server-6.tower-31.messagelabs.com!1409910511!8216304!1 X-Originating-IP: [119.145.14.66] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTE5LjE0NS4xNC42NiA9PiA4NTI3\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 11801 invoked from network); 5 Sep 2014 09:48:35 -0000 Received: from szxga03-in.huawei.com (HELO szxga03-in.huawei.com) (119.145.14.66) by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 5 Sep 2014 09:48:35 -0000 Received: from 172.24.2.119 (EHLO szxeml419-hub.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id ATY92829; Fri, 05 Sep 2014 17:45:42 +0800 (CST) Received: from localhost.localdomain (10.175.100.166) by szxeml419-hub.china.huawei.com (10.82.67.158) with Microsoft SMTP Server id 14.3.158.1; Fri, 5 Sep 2014 17:45:28 +0800 From: Yijing Wang <wangyijing@huawei.com> To: Bjorn Helgaas <bhelgaas@google.com> Date: Fri, 5 Sep 2014 18:09:47 +0800 Message-ID: <1409911806-10519-3-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1409911806-10519-1-git-send-email-wangyijing@huawei.com> References: <1409911806-10519-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020209.5409864A.0152,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2011-05-27 18:58:46 X-Mirapoint-Loop-Id: 3a583a618162c14ab11fb0dfc34224b0 Cc: linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, linux-pci@vger.kernel.org, Thierry Reding <thierry.reding@avionic-design.de>, Bharat.Bhushan@freescale.com, Yijing Wang <wangyijing@huawei.com>, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Russell King <linux@arm.linux.org.uk>, Joerg Roedel <joro@8bytes.org>, x86@kernel.org, Sebastian Ott <sebott@linux.vnet.ibm.com>, Benjamin Herrenschmidt <benh@kernel.crashing.org>, xen-devel@lists.xenproject.org, arnab.basu@freescale.com, Arnd Bergmann <arnd@arndb.de>, Chris Metcalf <cmetcalf@tilera.com>, Thomas Gleixner <tglx@linutronix.de>, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni <thomas.petazzoni@free-electrons.com>, Xinwei Hu <huxinwei@huawei.com>, Tony Luck <tony.luck@intel.com>, Ralf Baechle <ralf@linux-mips.org>, iommu@lists.linux-foundation.org, Wuyun <wuyun.wu@huawei.com>, linuxppc-dev@lists.ozlabs.org, "David S. Miller" <davem@davemloft.net> Subject: [Xen-devel] [PATCH v1 02/21] PCI/MSI: Remove useless bus->msi assignment X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: wangyijing@huawei.com 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.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index e3cf8a2..8296576 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -677,7 +677,6 @@ static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent, child->parent = parent; child->ops = parent->ops; - child->msi = parent->msi; child->sysdata = parent->sysdata; child->bus_flags = parent->bus_flags;
Currently, PCI drivers will initialize bus->msi in pcibios_add_bus(). pcibios_add_bus() will be called in every pci bus initialization. So the bus->msi assignment in pci_alloc_child_bus() is useless. Signed-off-by: Yijing Wang <wangyijing@huawei.com> CC: Thierry Reding <thierry.reding@avionic-design.de> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- drivers/pci/probe.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)