diff options
-rw-r--r-- | drivers/pci/host/pcie-iproc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c index 12a515622aef..e9210f657ca9 100644 --- a/drivers/pci/host/pcie-iproc.c +++ b/drivers/pci/host/pcie-iproc.c @@ -462,9 +462,6 @@ int iproc_pcie_setup(struct iproc_pcie *pcie, struct list_head *res) void *sysdata; struct pci_bus *bus; - if (!pcie || !pcie->dev) - return -EINVAL; - dev = pcie->dev; ret = devm_request_pci_bus_resources(dev, res); if (ret) |