summaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorShawn Guo2018-07-01 05:54:43 +0200
committerLorenzo Pieralisi2018-07-13 15:07:47 +0200
commita0476b3a678b4145a993f56071989af39d5718fb (patch)
treeb0b4ce76b24a9d4e463780baf53fc582bf61bf11 /drivers/pci/controller
parentPCI: kirin: Add MSI support (diff)
downloadkernel-qcow2-linux-a0476b3a678b4145a993f56071989af39d5718fb.tar.gz
kernel-qcow2-linux-a0476b3a678b4145a993f56071989af39d5718fb.tar.xz
kernel-qcow2-linux-a0476b3a678b4145a993f56071989af39d5718fb.zip
PCI: exynos: Drop unnecessary root_bus_nr setting
Function dw_pcie_host_init() already initializes the root_bus_nr field of 'struct pcie_port', so the -1 assignment prior to calling dw_pcie_host_init() in platform specific driver is not really needed. Drop it. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Jingoo Han <jingoohan1@gmail.com>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/dwc/pci-exynos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-exynos.c b/drivers/pci/controller/dwc/pci-exynos.c
index 4cc1e5df8c79..cee5f2f590e2 100644
--- a/drivers/pci/controller/dwc/pci-exynos.c
+++ b/drivers/pci/controller/dwc/pci-exynos.c
@@ -421,7 +421,6 @@ static int __init exynos_add_pcie_port(struct exynos_pcie *ep,
}
}
- pp->root_bus_nr = -1;
pp->ops = &exynos_pcie_host_ops;
ret = dw_pcie_host_init(pp);