Skip to content

Commit f008f59

Browse files
author
Joseph Szczypek
committed
watchdog/hpwdt: Remove unused variable
JIRA: https://issues.redhat.com/browse/RHEL-104148 Upstream Status: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git commit 91c437e Author: Jerry Hoemann <jerry.hoemann@hpe.com> Date: Wed Dec 13 14:53:40 2023 -0700 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> Signed-off-by: Joseph Szczypek <jszczype@redhat.com>
1 parent 3401f3a commit f008f59

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/watchdog/hpwdt.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
#define DEFAULT_MARGIN 30
3434
#define PRETIMEOUT_SEC 9
3535

36-
static bool ilo5;
3736
static unsigned int soft_margin = DEFAULT_MARGIN; /* in seconds */
3837
static bool nowayout = WATCHDOG_NOWAYOUT;
3938
static bool pretimeout = IS_ENABLED(CONFIG_HPWDT_NMI_DECODING);
@@ -360,9 +359,6 @@ static int hpwdt_init_one(struct pci_dev *dev,
360359
pretimeout ? "on" : "off");
361360
dev_info(&dev->dev, "kdumptimeout: %d.\n", kdumptimeout);
362361

363-
if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR)
364-
ilo5 = true;
365-
366362
return 0;
367363

368364
error_wd_register:

0 commit comments

Comments
 (0)