diff options
-rw-r--r-- | arch/i386/kernel/dmi_scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/dmi_scan.c b/arch/i386/kernel/dmi_scan.c index c4a73855e38c..58516e2ac172 100644 --- a/arch/i386/kernel/dmi_scan.c +++ b/arch/i386/kernel/dmi_scan.c | |||
@@ -248,9 +248,9 @@ int dmi_check_system(struct dmi_system_id *list) | |||
248 | /* No match */ | 248 | /* No match */ |
249 | goto fail; | 249 | goto fail; |
250 | } | 250 | } |
251 | count++; | ||
251 | if (d->callback && d->callback(d)) | 252 | if (d->callback && d->callback(d)) |
252 | break; | 253 | break; |
253 | count++; | ||
254 | fail: d++; | 254 | fail: d++; |
255 | } | 255 | } |
256 | 256 | ||