Skip to contentSkip to conversation

x86: Remove useless function lapic_watchdog_ok()

PATCH In review Jaswinder Singh Rajput 1 participant 3 messages Jul 2, 2009 – Jul 3, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: Remove useless function lapic_watchdog_ok()

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

---
 arch/x86/include/asm/nmi.h             |    1 -
 arch/x86/kernel/cpu/perfctr-watchdog.c |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)
arch/x86/include/asm/nmi.h +0 -1
index c972644..c86e5ed 100644
@@ -72,7 +72,6 @@ void lapic_watchdog_stop(void);
 int lapic_watchdog_init(unsigned nmi_hz);
 int lapic_wd_event(unsigned nmi_hz);
 unsigned lapic_adjust_nmi_hz(unsigned hz);
-int lapic_watchdog_ok(void);
 void disable_lapic_nmi_watchdog(void);
 void enable_lapic_nmi_watchdog(void);
 void stop_nmi(void);
arch/x86/kernel/cpu/perfctr-watchdog.c +0 -5
index 5c481f6..e60ed74 100644
@@ -803,8 +803,3 @@ int __kprobes lapic_wd_event(unsigned nmi_hz)
 	wd_ops->rearm(wd, nmi_hz);
 	return 1;
 }
-
-int lapic_watchdog_ok(void)
-{
-	return wd_ops != NULL;
-}
Signature · 1 line
1.6.2.5
#1 lore raw

[tip:x86/urgent] x86: Remove unused function lapic_watchdog_ok()

Commit-ID:  87a7ed62d5324ef4f356e436ca6a8522151fdff1
Gitweb:     http://git.kernel.org/tip/87a7ed62d5324ef4f356e436ca6a8522151fdff1
Author:     Jaswinder Singh Rajput <[email protected]>
AuthorDate: Thu, 2 Jul 2009 22:35:35 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 3 Jul 2009 11:34:08 +0200

x86: Remove unused function lapic_watchdog_ok()

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

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/nmi.h             |    1 -
 arch/x86/kernel/cpu/perfctr-watchdog.c |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)
arch/x86/include/asm/nmi.h +0 -1
index c972644..c86e5ed 100644
@@ -72,7 +72,6 @@ void lapic_watchdog_stop(void);
 int lapic_watchdog_init(unsigned nmi_hz);
 int lapic_wd_event(unsigned nmi_hz);
 unsigned lapic_adjust_nmi_hz(unsigned hz);
-int lapic_watchdog_ok(void);
 void disable_lapic_nmi_watchdog(void);
 void enable_lapic_nmi_watchdog(void);
 void stop_nmi(void);
arch/x86/kernel/cpu/perfctr-watchdog.c +0 -5
index 5c481f6..e60ed74 100644
@@ -803,8 +803,3 @@ int __kprobes lapic_wd_event(unsigned nmi_hz)
 	wd_ops->rearm(wd, nmi_hz);
 	return 1;
 }
-
-int lapic_watchdog_ok(void)
-{
-	return wd_ops != NULL;
-}
#2 lore raw

[tip:x86/urgent] x86: Remove unused function lapic_watchdog_ok()

In reply to Jaswinder Singh Rajput
Commit-ID:  c7210e1ff8a95a0a6dba0d04a95b3ddd9d165fab
Gitweb:     http://git.kernel.org/tip/c7210e1ff8a95a0a6dba0d04a95b3ddd9d165fab
Author:     Jaswinder Singh Rajput <[email protected]>
AuthorDate: Thu, 2 Jul 2009 22:35:35 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Fri, 3 Jul 2009 14:34:31 +0200

x86: Remove unused function lapic_watchdog_ok()

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

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/nmi.h             |    1 -
 arch/x86/kernel/cpu/perfctr-watchdog.c |    5 -----
 2 files changed, 0 insertions(+), 6 deletions(-)
arch/x86/include/asm/nmi.h +0 -1
index c972644..c86e5ed 100644
@@ -72,7 +72,6 @@ void lapic_watchdog_stop(void);
 int lapic_watchdog_init(unsigned nmi_hz);
 int lapic_wd_event(unsigned nmi_hz);
 unsigned lapic_adjust_nmi_hz(unsigned hz);
-int lapic_watchdog_ok(void);
 void disable_lapic_nmi_watchdog(void);
 void enable_lapic_nmi_watchdog(void);
 void stop_nmi(void);
arch/x86/kernel/cpu/perfctr-watchdog.c +0 -5
index 5c481f6..e60ed74 100644
@@ -803,8 +803,3 @@ int __kprobes lapic_wd_event(unsigned nmi_hz)
 	wd_ops->rearm(wd, nmi_hz);
 	return 1;
 }
-
-int lapic_watchdog_ok(void)
-{
-	return wd_ops != NULL;
-}