PCI: designware: Remove pci_assign_unassigned_resources() from dw_pcie_host_init()
The pci_common_init_dev() call right before will already handle the device resource allocation, so this call was a no-op. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Mohit Kumar <mohit.kumar@st.com>
This commit is contained in:
parent
92483df2ba
commit
8ddebc4103
@ -581,7 +581,6 @@ int __init dw_pcie_host_init(struct pcie_port *pp)
|
|||||||
dw_pci.private_data = (void **)&pp;
|
dw_pci.private_data = (void **)&pp;
|
||||||
|
|
||||||
pci_common_init_dev(pp->dev, &dw_pci);
|
pci_common_init_dev(pp->dev, &dw_pci);
|
||||||
pci_assign_unassigned_resources();
|
|
||||||
#ifdef CONFIG_PCI_DOMAINS
|
#ifdef CONFIG_PCI_DOMAINS
|
||||||
dw_pci.domain++;
|
dw_pci.domain++;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user