diff mbox

[4/5] pci:setup_bus.c Fix warning: variable 'retval' set but not used

Message ID 1276666434-11227-5-git-send-email-justinmattock@gmail.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Justin P. Mattock June 16, 2010, 5:33 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 19b1113..215590b 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -865,7 +865,6 @@  void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge)
 	struct pci_bus *parent = bridge->subordinate;
 	int tried_times = 0;
 	struct resource_list_x head, *list;
-	int retval;
 	unsigned long type_mask = IORESOURCE_IO | IORESOURCE_MEM |
 				  IORESOURCE_PREFETCH;
 
@@ -874,7 +873,6 @@  void pci_assign_unassigned_bridge_resources(struct pci_dev *bridge)
 again:
 	pci_bus_size_bridges(parent);
 	__pci_bridge_assign_resources(bridge, &head);
-	retval = pci_reenable_device(bridge);
 	pci_set_master(bridge);
 	pci_enable_bridges(parent);