All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/9] PCI: exynos: Drop unnecessary root_bus_nr setting
@ 2018-05-09  5:39 Shawn Guo
  2018-05-09  5:39 ` [PATCH 2/9] PCI: imx6: " Shawn Guo
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Shawn Guo @ 2018-05-09  5:39 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, Shawn Guo, Jingoo Han

The root_bus_nr initialization has already been done in function
dw_pcie_host_init().  The -1 assignment in platform driver before
calling into dw_pcie_host_init() is not really needed.  Drop it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Jingoo Han <jingoohan1@gmail.com>
---
 drivers/pci/dwc/pci-exynos.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pci/dwc/pci-exynos.c b/drivers/pci/dwc/pci-exynos.c
index 4cc1e5df8c79..cee5f2f590e2 100644
--- a/drivers/pci/dwc/pci-exynos.c
+++ b/drivers/pci/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);
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-05-09 15:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09  5:39 [PATCH 1/9] PCI: exynos: Drop unnecessary root_bus_nr setting Shawn Guo
2018-05-09  5:39 ` [PATCH 2/9] PCI: imx6: " Shawn Guo
2018-05-09  5:39 ` [PATCH 3/9] PCI: keystone: " Shawn Guo
2018-05-09  5:39 ` [PATCH 4/9] PCI: armada8k: " Shawn Guo
2018-05-09  7:29   ` Thomas Petazzoni
2018-05-09  7:52     ` Shawn Guo
2018-05-09  5:39 ` [PATCH 5/9] PCI: artpec6: " Shawn Guo
2018-05-09  5:39 ` [PATCH 6/9] PCI: designware-plat: " Shawn Guo
2018-05-09  5:39 ` [PATCH 7/9] PCI: histb: " Shawn Guo
2018-05-09  5:39 ` [PATCH 8/9] PCI: qcom: " Shawn Guo
2018-05-09 15:46   ` Stanimir Varbanov
2018-05-09  5:39 ` [PATCH 9/9] PCI: spear13xx: " Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.