mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
watchdog: it87_wdt: Remove redundant max_units setting
Commit 893dc8b5c9
("watchdog: it87: Drop support for resetting watchdog
though CIR and Game port") removed the try_gameport variable, and left
max_units setting redundant.
To clean up the code, this patch removes this redundant setting.
Signed-off-by: Werner Fischer <devlists@wefi.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231213094525.11849-2-devlists@wefi.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
fed7d05382
commit
133530a5b9
1 changed files with 2 additions and 4 deletions
|
@ -274,10 +274,6 @@ static int __init it87_wdt_init(void)
|
|||
case IT8712_ID:
|
||||
max_units = (chip_rev < 8) ? 255 : 65535;
|
||||
break;
|
||||
case IT8716_ID:
|
||||
case IT8726_ID:
|
||||
max_units = 65535;
|
||||
break;
|
||||
case IT8607_ID:
|
||||
case IT8613_ID:
|
||||
case IT8620_ID:
|
||||
|
@ -287,9 +283,11 @@ static int __init it87_wdt_init(void)
|
|||
case IT8655_ID:
|
||||
case IT8665_ID:
|
||||
case IT8686_ID:
|
||||
case IT8716_ID:
|
||||
case IT8718_ID:
|
||||
case IT8720_ID:
|
||||
case IT8721_ID:
|
||||
case IT8726_ID:
|
||||
case IT8728_ID:
|
||||
case IT8772_ID:
|
||||
case IT8783_ID:
|
||||
|
|
Loading…
Reference in a new issue