Message ID | 1411614872-4009-3-git-send-email-wangyijing@huawei.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDP3JFH37QKRBFMIR2QQKGQEUIOXKSY@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 86D9E20063 for <linaro@patches.linaro.org>; Thu, 25 Sep 2014 02:55:18 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id c13sf4502228eek.11 for <linaro@patches.linaro.org>; Wed, 24 Sep 2014 19:55:17 -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=FlDK1V1c1sbU9r8e69gEhMcyfg59uWkQ++0BPzl5zig=; b=Ya7e9xvoOovLro0rUr3isnOLy9DZDV/os6fx9hcxqTv0sc81e3T7E3lC5RuAVeEvwg vBHQuWBN9x6y1eUhcJw4Whx95uKGvpZ4nbUpvVEI/HpuHJdW9fdUwlnrHLZbRQlMr/1g WM/cTzXO884rpkuTVOuP3OK+g3tXqAKxz4JAIxgWKQV3lXHuJGQTVVUvUpARO/Hw/fA8 VRd7lWm3w/JntY2zQ6podL30Ad+KIraic1nLlxDnPHxGaQQZrZBSYxKgg4sAZQjlvHnr HvPlMLN6AsBl1PKWSN1c0BrnNA4P8sMZQ7OMEDWJLx9c+kVgLRij17+8HYdM6xLx8JBN p7BQ== X-Gm-Message-State: ALoCoQnTBOffqViGbOJbJXb9gkOPy++RN86i8fcejKLVJ4IR2iogJQzi0ZMjtu/rf56Y15YLqdrQ X-Received: by 10.180.109.194 with SMTP id hu2mr2086027wib.1.1411613717459; Wed, 24 Sep 2014 19:55:17 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.205.76 with SMTP id le12ls217322lac.34.gmail; Wed, 24 Sep 2014 19:55:17 -0700 (PDT) X-Received: by 10.112.147.74 with SMTP id ti10mr9605653lbb.29.1411613717311; Wed, 24 Sep 2014 19:55:17 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com [209.85.215.49]) by mx.google.com with ESMTPS id ir4si1017788lac.116.2014.09.24.19.55.17 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Sep 2014 19:55:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id pn19so11828786lab.36 for <patchwork-forward@linaro.org>; Wed, 24 Sep 2014 19:55:17 -0700 (PDT) X-Received: by 10.112.48.100 with SMTP id k4mr359910lbn.95.1411613717011; Wed, 24 Sep 2014 19:55:17 -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.112.130.169 with SMTP id of9csp683521lbb; Wed, 24 Sep 2014 19:55:16 -0700 (PDT) X-Received: by 10.224.136.72 with SMTP id q8mr14862380qat.31.1411613715332; Wed, 24 Sep 2014 19:55:15 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id p20si1095226qay.102.2014.09.24.19.55.14 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 24 Sep 2014 19:55:15 -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 1XWzBM-0004XD-BJ; Thu, 25 Sep 2014 02:53:24 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from <wangyijing@huawei.com>) id 1XWzBK-0004Tq-9y for xen-devel@lists.xenproject.org; Thu, 25 Sep 2014 02:53:22 +0000 Received: from [193.109.254.147:50425] by server-15.bemta-14.messagelabs.com id 74/FD-30948-1A383245; Thu, 25 Sep 2014 02:53:21 +0000 X-Env-Sender: wangyijing@huawei.com X-Msg-Ref: server-10.tower-27.messagelabs.com!1411613597!12864536!1 X-Originating-IP: [119.145.14.65] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMTE5LjE0NS4xNC42NSA9PiA3NzQ2Mw==\n X-StarScan-Received: X-StarScan-Version: 6.12.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 14662 invoked from network); 25 Sep 2014 02:53:20 -0000 Received: from szxga02-in.huawei.com (HELO szxga02-in.huawei.com) (119.145.14.65) by server-10.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 25 Sep 2014 02:53:20 -0000 Received: from 172.24.2.119 (EHLO szxeml409-hub.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BZX30348; Thu, 25 Sep 2014 10:50:36 +0800 (CST) Received: from localhost.localdomain (10.175.100.166) by szxeml409-hub.china.huawei.com (10.82.67.136) with Microsoft SMTP Server id 14.3.158.1; Thu, 25 Sep 2014 10:50:22 +0800 From: Yijing Wang <wangyijing@huawei.com> To: Bjorn Helgaas <bhelgaas@google.com> Date: Thu, 25 Sep 2014 11:14:12 +0800 Message-ID: <1411614872-4009-3-git-send-email-wangyijing@huawei.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1411614872-4009-1-git-send-email-wangyijing@huawei.com> References: <1411614872-4009-1-git-send-email-wangyijing@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.100.166] X-CFilter-Loop: Reflected Cc: linux-mips@linux-mips.org, linux-ia64@vger.kernel.org, linux-pci@vger.kernel.org, Bharat.Bhushan@freescale.com, Yijing Wang <wangyijing@huawei.com>, Thierry Reding <thierry.reding@gmail.com>, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, Russell King <linux@arm.linux.org.uk>, Michael Ellerman <mpe@ellerman.id.au>, 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>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, linux-kernel@vger.kernel.org, Ralf Baechle <ralf@linux-mips.org>, iommu@lists.linux-foundation.org, David Vrabel <david.vrabel@citrix.com>, Wuyun <wuyun.wu@huawei.com>, linuxppc-dev@lists.ozlabs.org, "David S. Miller" <davem@davemloft.net>, Lucas Stach <l.stach@pengutronix.de> Subject: [Xen-devel] [PATCH v2 02/22] 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.215.49 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@gmail.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- drivers/pci/probe.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)