Commit c7210e1f authored by Jaswinder Singh Rajput's avatar Jaswinder Singh Rajput Committed by Ingo Molnar

x86: Remove unused function lapic_watchdog_ok()

lapic_watchdog_ok() is a global function but no one is using it.
Signed-off-by: default avatarJaswinder 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: default avatarIngo Molnar <mingo@elte.hu>
parent 23d0cd8e
...@@ -72,7 +72,6 @@ void lapic_watchdog_stop(void); ...@@ -72,7 +72,6 @@ void lapic_watchdog_stop(void);
int lapic_watchdog_init(unsigned nmi_hz); int lapic_watchdog_init(unsigned nmi_hz);
int lapic_wd_event(unsigned nmi_hz); int lapic_wd_event(unsigned nmi_hz);
unsigned lapic_adjust_nmi_hz(unsigned hz); unsigned lapic_adjust_nmi_hz(unsigned hz);
int lapic_watchdog_ok(void);
void disable_lapic_nmi_watchdog(void); void disable_lapic_nmi_watchdog(void);
void enable_lapic_nmi_watchdog(void); void enable_lapic_nmi_watchdog(void);
void stop_nmi(void); void stop_nmi(void);
......
...@@ -803,8 +803,3 @@ int __kprobes lapic_wd_event(unsigned nmi_hz) ...@@ -803,8 +803,3 @@ int __kprobes lapic_wd_event(unsigned nmi_hz)
wd_ops->rearm(wd, nmi_hz); wd_ops->rearm(wd, nmi_hz);
return 1; return 1;
} }
int lapic_watchdog_ok(void)
{
return wd_ops != NULL;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment