diff mbox

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

Message ID 4C1BBD31.8010609@gmail.com (mailing list archive)
State Rejected, archived
Headers show

Commit Message

Justin P. Mattock June 18, 2010, 6:38 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 19b1113..7b57dd0 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -875,6 +875,7 @@  again:
  	pci_bus_size_bridges(parent);
  	__pci_bridge_assign_resources(bridge, &head);
  	retval = pci_reenable_device(bridge);
+	printk(KERN_DEBUG "PCI%d: re-enabling device\n", retval);
  	pci_set_master(bridge);
  	pci_enable_bridges(parent);