Message ID | 1276666434-11227-4-git-send-email-justinmattock@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 628ea20..84bdb48 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -234,12 +234,10 @@ void pci_bus_add_devices(const struct pci_bus *bus) void pci_enable_bridges(struct pci_bus *bus) { struct pci_dev *dev; - int retval; list_for_each_entry(dev, &bus->devices, bus_list) { if (dev->subordinate) { if (!pci_is_enabled(dev)) { - retval = pci_enable_device(dev); pci_set_master(dev); } pci_enable_bridges(dev->subordinate);