[PATCH v3 10/27] PCI/MSI: Remove useless bus->msi assignment

Yijing Wang wangyijing at huawei.com
Tue Oct 14 20:06:58 PDT 2014


Now msi chip is saved in pci_sys_data in arm,
we could clean the bus->msi assignment in
pci core.

Signed-off-by: Yijing Wang <wangyijing at huawei.com>
CC: Thierry Reding <thierry.reding at gmail.com>
CC: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 drivers/pci/probe.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index efa48dc..98bf4c3 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -682,7 +682,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;
 
-- 
1.7.1




More information about the linux-arm-kernel mailing list