summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-07-18 17:58:44 +0000
committerStefan Reinauer <stepan@openbios.org>2009-07-18 17:58:44 +0000
commit6afcea8552aecf8831b6890ad8b5e3761c10c778 (patch)
treecdd6cab533c3bbf6025b9d1be92fdffbb9742ae4 /src
parentf23804bda457a80f46bcdad9320230cc5154eb9c (diff)
downloadcoreboot-6afcea8552aecf8831b6890ad8b5e3761c10c778.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/devices/device.c3
1 files changed, 1 insertions, 2 deletions
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");
}