Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8519bc8f authored by Shawn Guo's avatar Shawn Guo Committed by Lorenzo Pieralisi
Browse files

PCI: keystone: 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: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Murali Karicheri <m-karicheri2@ti.com>
parent 39f712e9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -347,7 +347,6 @@ static int __init ks_add_pcie_port(struct keystone_pcie *ks_pcie,
		}
	}

	pp->root_bus_nr = -1;
	pp->ops = &keystone_pcie_host_ops;
	ret = ks_dw_pcie_host_init(ks_pcie, ks_pcie->msi_intc_np);
	if (ret) {