drop unused variable (trivial)
authorStefan Reinauer <stepan@coresystems.de>
Sat, 18 Jul 2009 17:58:44 +0000 (17:58 +0000)
committerStefan Reinauer <stepan@openbios.org>
Sat, 18 Jul 2009 17:58:44 +0000 (17:58 +0000)
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

src/devices/device.c

index 64b3c106a07166ee87691d1594c7c32053e50a39..8663a543ac00bb5bca34bbe9c4b33101bf54af45 100644 (file)
@@ -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");
 }