summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-15 00:12:11 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-15 00:12:11 +0000
commit4edd3d787800138c16f7c846bad7105e10bf19b0 (patch)
tree09f1cfeaaa73dba233479166fd8e930a95b4ea92
parent155547287a03495178fe51ef97dc1d099f34f0bf (diff)
downloaddrakx-4edd3d787800138c16f7c846bad7105e10bf19b0.tar
drakx-4edd3d787800138c16f7c846bad7105e10bf19b0.tar.gz
drakx-4edd3d787800138c16f7c846bad7105e10bf19b0.tar.bz2
drakx-4edd3d787800138c16f7c846bad7105e10bf19b0.tar.xz
drakx-4edd3d787800138c16f7c846bad7105e10bf19b0.zip
optimize loop
-rw-r--r--mdk-stage1/probing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index 9bd3dbc90..ae35d0c1e 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -348,7 +348,7 @@ void probe_that_type(enum driver_type type, enum media_bus bus __attribute__ ((u
log_message("PCI: device %04x %04x %04x %04x is \"%s\", driver is %s",
e->vendor, e->device, e->subvendor, e->subdevice, e->text, e->module);
discovered_device(type, e->text, e->module);
- continue;
+ break;
}
}
}