Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

x86: Remove unused function lapic_watchdog_ok()

lapic_watchdog_ok() is a global function but no one is using it.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1246554335.2242.29.camel@jaswinder.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
c7210e1f 23d0cd8e

-6
-1
arch/x86/include/asm/nmi.h
··· 72 72 int lapic_watchdog_init(unsigned nmi_hz); 73 73 int lapic_wd_event(unsigned nmi_hz); 74 74 unsigned lapic_adjust_nmi_hz(unsigned hz); 75 - int lapic_watchdog_ok(void); 76 75 void disable_lapic_nmi_watchdog(void); 77 76 void enable_lapic_nmi_watchdog(void); 78 77 void stop_nmi(void);
-5
arch/x86/kernel/cpu/perfctr-watchdog.c
··· 803 803 wd_ops->rearm(wd, nmi_hz); 804 804 return 1; 805 805 } 806 - 807 - int lapic_watchdog_ok(void) 808 - { 809 - return wd_ops != NULL; 810 - }