]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PCI: armada8k: Drop unnecessary root_bus_nr setting
authorShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2018 03:54:46 +0000 (11:54 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 13 Jul 2018 13:08:28 +0000 (14:08 +0100)
commit53b801fd020d4d00a1eebbab9f042a8b9fe03b78
treea376012f866fcda3ad8e64dd4f705e5403296558
parent8519bc8fe88fbe5c1e448ae1dd1ba215a1723abe
PCI: armada8k: 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>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
drivers/pci/controller/dwc/pcie-armada8k.c