mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
[WATCHDOG] Revert "Stop looking for device as soon as one is found"
This reverts commit 3ff6eb4a2f
.
the !found check in the for loop allready made sure that only one
device was found.
Signed-Off-By: Pádraig Brady <P@draigBrady.com>
Signed-Off-By: Wim Van Sebroeck <wim@iguana.be>
This commit is contained in:
parent
03bbe082cf
commit
cde10ba3ba
1 changed files with 1 additions and 3 deletions
|
@ -382,10 +382,8 @@ wdt_init(void)
|
|||
/* we will autodetect the W83697HF/HG watchdog */
|
||||
for (i = 0; ((!found) && (w83697hf_ioports[i] != 0)); i++) {
|
||||
wdt_io = w83697hf_ioports[i];
|
||||
if (!w83697hf_check_wdt()) {
|
||||
if (!w83697hf_check_wdt())
|
||||
found++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (!w83697hf_check_wdt())
|
||||
|
|
Loading…
Reference in a new issue