watchdog: it87_wdt: Remove redundant max_units setting
authorWerner Fischer <devlists@wefi.net>
Wed, 13 Dec 2023 09:45:23 +0000 (10:45 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 17 Dec 2023 15:14:26 +0000 (16:14 +0100)
commit133530a5b99d6755bb9f712405d5d1a493cbaeab
treee972c573e273cc50faef7af28ef2fde9cf0f9b08
parentfed7d05382abca82883a8213d42601235073869b
watchdog: it87_wdt: Remove redundant max_units setting

Commit 893dc8b5c978 ("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>
drivers/watchdog/it87_wdt.c