diff options
author | Sylvain "ythier" Hitier <sylvain.hitier@gmail.com> | 2011-03-01 21:57:11 +0000 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2011-03-01 21:57:11 +0000 |
commit | 5325a48340158d1251a55d54eb437a695fdc428a (patch) | |
tree | 87cd9726edd181ff72cf937b12aa66807c806b18 /util | |
parent | b8269e211134860785d103493a8de6d596dfa913 (diff) |
[SCONFIG] remove unused variable in inherit_subsystem_ids()
i is a leftover from debugging, no longer needed. So just remove it.
Signed-off-by: Sylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: Sven Schnelle <svens@stackframe.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6424 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rwxr-xr-x | util/sconfig/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/sconfig/main.c b/util/sconfig/main.c index 727fccef75..c3448f35b5 100755 --- a/util/sconfig/main.c +++ b/util/sconfig/main.c @@ -415,14 +415,13 @@ static void walk_device_tree(FILE *fil, struct device *ptr, void (*func)(FILE *, static void inherit_subsystem_ids(FILE *file, struct device *dev) { struct device *p; - int i =0; if (dev->subsystem_vendor != -1 && dev->subsystem_device != -1) { /* user already gave us a subsystem vendor/device */ return; } - for(p = dev; p && p != p->parent; (p = p->parent), i++) { + for(p = dev; p && p != p->parent; p = p->parent) { if (p->bustype != PCI && p->bustype != PCI_DOMAIN) continue; |