mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ANDROID: kernel/watchdog: fix unused variable warning
kernel/watchdog.c:122:22: warning: ‘hardlockup_allcpu_dumped’ defined but not used [-Wunused-variable] Change-Id: I99e97e7cc31b589cd674fd4495832c9ef036d0b9 Signed-off-by: Brian Norris <briannorris@google.com>
This commit is contained in:
committed by
Dmitry Shmidt
parent
557d80f284
commit
b5ea92ffa8
@@ -120,7 +120,7 @@ static unsigned long soft_lockup_nmi_warn;
|
||||
#ifdef CONFIG_HARDLOCKUP_DETECTOR
|
||||
unsigned int __read_mostly hardlockup_panic =
|
||||
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE;
|
||||
static unsigned long hardlockup_allcpu_dumped;
|
||||
static unsigned long __maybe_unused hardlockup_allcpu_dumped;
|
||||
/*
|
||||
* We may not want to enable hard lockup detection by default in all cases,
|
||||
* for example when running the kernel as a guest on a hypervisor. In these
|
||||
|
||||
Reference in New Issue
Block a user