]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PCI: histb: Drop unnecessary root_bus_nr setting
authorShawn Guo <shawn.guo@linaro.org>
Sun, 1 Jul 2018 03:54:49 +0000 (11:54 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 13 Jul 2018 13:09:47 +0000 (14:09 +0100)
commit73fb9924d26b835f67acedacfe032343c9ed4f06
treec3aa151a03468fe23870ff348ef71f478c4580be
parent3513f81816ef085c0068c8aea04b78b0a06a8720
PCI: histb: 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: Jianguo Sun <sunjianguo1@huawei.com>
drivers/pci/controller/dwc/pcie-histb.c