diff options
| author | Brian Norris <briannorris@google.com> | 2016-02-29 17:42:29 -0800 |
|---|---|---|
| committer | Amit Pundir <amit.pundir@linaro.org> | 2016-04-07 16:49:55 +0530 |
| commit | 49f63e15598e09f24e0528e7cad18d6dec2ba804 (patch) | |
| tree | 5965cdf4b0f1c5217b9fc1a8a9c2074cce55e96c /kernel/watchdog.c | |
| parent | 4ebd433b3d2c1d26425429d6192da63965fbbc7e (diff) | |
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>
Diffstat (limited to 'kernel/watchdog.c')
| -rw-r--r-- | kernel/watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/watchdog.c b/kernel/watchdog.c index 25955235ecdd..e864906af3fc 100644 --- a/kernel/watchdog.c +++ b/kernel/watchdog.c @@ -119,7 +119,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 |
