diff mbox

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

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

Commit Message

Justin P. Mattock June 18, 2010, 8:26 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 66cb8f4..806b766 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -919,6 +919,7 @@  again:

  enable_all:
  	retval = pci_reenable_device(bridge);
+	printk(KERN_DEBUG "PCI%d: re-enabling device\n", retval);
  	pci_set_master(bridge);
  	pci_enable_bridges(parent);
  }