device/pci_ops: Drop parameter from pci_bus_default_ops()
A default is a build-time static value, fallback. Return value does not depend of input parameter. Change-Id: I43ae28f465fb46391519ec97a2a50891d458c46d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31679 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -27,7 +27,7 @@ static const struct pci_bus_operations *pci_bus_ops(struct bus *bus, struct devi
|
||||
bops = bus->dev->ops->ops_pci_bus(dev);
|
||||
}
|
||||
if (!bops)
|
||||
bops = pci_bus_default_ops(dev);
|
||||
bops = pci_bus_default_ops();
|
||||
return bops;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user