drop unused variable (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4439 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/devices/device.c b/src/devices/device.c
index 64b3c10..8663a54 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -881,7 +881,6 @@
void dev_enumerate(void)
{
struct device *root;
- unsigned subordinate;
printk_info("Enumerating buses...\n");
root = &dev_root;
@@ -897,7 +896,7 @@
printk_err("dev_root missing scan_bus operation");
return;
}
- subordinate = scan_bus(root, 0);
+ scan_bus(root, 0);
printk_info("done\n");
}