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/hpwdt: Remove unused variable

Remove the unused variable ilo5.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20231213215340.495734-4-jerry.hoemann@hpe.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Jerry Hoemann and committed by
Wim Van Sebroeck
91c437ea 2b276d52

-4
-4
drivers/watchdog/hpwdt.c
··· 33 33 #define DEFAULT_MARGIN 30 34 34 #define PRETIMEOUT_SEC 9 35 35 36 - static bool ilo5; 37 36 static unsigned int soft_margin = DEFAULT_MARGIN; /* in seconds */ 38 37 static bool nowayout = WATCHDOG_NOWAYOUT; 39 38 static bool pretimeout = IS_ENABLED(CONFIG_HPWDT_NMI_DECODING); ··· 358 359 dev_info(&dev->dev, "pretimeout: %s.\n", 359 360 pretimeout ? "on" : "off"); 360 361 dev_info(&dev->dev, "kdumptimeout: %d.\n", kdumptimeout); 361 - 362 - if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR) 363 - ilo5 = true; 364 362 365 363 return 0; 366 364