watchdog/hpwdt: Remove unused variable
authorJerry Hoemann <jerry.hoemann@hpe.com>
Wed, 13 Dec 2023 21:53:40 +0000 (14:53 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 17 Dec 2023 15:14:22 +0000 (16:14 +0100)
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>
drivers/watchdog/hpwdt.c

index d5c0aa3ef06961a3d0e9aeea95a24bd9744e67ed..138dc8d8ca3d8a6b4ae4114137a6bc28cb3f09a7 100644 (file)
@@ -33,7 +33,6 @@
 #define DEFAULT_MARGIN                 30
 #define PRETIMEOUT_SEC                 9
 
-static bool ilo5;
 static unsigned int soft_margin = DEFAULT_MARGIN;      /* in seconds */
 static bool nowayout = WATCHDOG_NOWAYOUT;
 static bool pretimeout = IS_ENABLED(CONFIG_HPWDT_NMI_DECODING);
@@ -360,9 +359,6 @@ static int hpwdt_init_one(struct pci_dev *dev,
                                pretimeout ? "on" : "off");
        dev_info(&dev->dev, "kdumptimeout: %d.\n", kdumptimeout);
 
-       if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR)
-               ilo5 = true;
-
        return 0;
 
 error_wd_register: