Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Werner Fischer and committed by
Wim Van Sebroeck
133530a5 fed7d053

+2 -4
+2 -4
drivers/watchdog/it87_wdt.c
··· 274 274 case IT8712_ID: 275 275 max_units = (chip_rev < 8) ? 255 : 65535; 276 276 break; 277 - case IT8716_ID: 278 - case IT8726_ID: 279 - max_units = 65535; 280 - break; 281 277 case IT8607_ID: 282 278 case IT8613_ID: 283 279 case IT8620_ID: ··· 283 287 case IT8655_ID: 284 288 case IT8665_ID: 285 289 case IT8686_ID: 290 + case IT8716_ID: 286 291 case IT8718_ID: 287 292 case IT8720_ID: 288 293 case IT8721_ID: 294 + case IT8726_ID: 289 295 case IT8728_ID: 290 296 case IT8772_ID: 291 297 case IT8783_ID: