From 6afcea8552aecf8831b6890ad8b5e3761c10c778 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 18 Jul 2009 17:58:44 +0000 Subject: drop unused variable (trivial) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4439 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/devices/device.c b/src/devices/device.c index 64b3c106a0..8663a543ac 100644 --- a/src/devices/device.c +++ b/src/devices/device.c @@ -881,7 +881,6 @@ unsigned int scan_bus(struct device *busdev, unsigned int max) void dev_enumerate(void) { struct device *root; - unsigned subordinate; printk_info("Enumerating buses...\n"); root = &dev_root; @@ -897,7 +896,7 @@ void dev_enumerate(void) printk_err("dev_root missing scan_bus operation"); return; } - subordinate = scan_bus(root, 0); + scan_bus(root, 0); printk_info("done\n"); } -- cgit v1.2.3