* [PATCH -tip] x86: Remove useless function lapic_watchdog_ok()
@ 2009-07-02 17:05 Jaswinder Singh Rajput
2009-07-03 9:36 ` [tip:x86/urgent] x86: Remove unused " tip-bot for Jaswinder Singh Rajput
2009-07-03 12:45 ` tip-bot for Jaswinder Singh Rajput
0 siblings, 2 replies; 3+ messages in thread
From: Jaswinder Singh Rajput @ 2009-07-02 17:05 UTC (permalink / raw)
To: Ingo Molnar, Andi Kleen, Yinghai Lu, x86 maintainers, LKML
lapic_watchdog_ok() is a global function but no one is using it.
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
arch/x86/include/asm/nmi.h | 1 -
arch/x86/kernel/cpu/perfctr-watchdog.c | 5 -----
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h
index c972644..c86e5ed 100644
--- a/arch/x86/include/asm/nmi.h
+++ b/arch/x86/include/asm/nmi.h
@@ -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);
diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c
index 5c481f6..e60ed74 100644
--- a/arch/x86/kernel/cpu/perfctr-watchdog.c
+++ b/arch/x86/kernel/cpu/perfctr-watchdog.c
@@ -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;
-}
--
1.6.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [tip:x86/urgent] x86: Remove unused function lapic_watchdog_ok()
2009-07-02 17:05 [PATCH -tip] x86: Remove useless function lapic_watchdog_ok() Jaswinder Singh Rajput
@ 2009-07-03 9:36 ` tip-bot for Jaswinder Singh Rajput
2009-07-03 12:45 ` tip-bot for Jaswinder Singh Rajput
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Jaswinder Singh Rajput @ 2009-07-03 9:36 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, yinghai, andi, jaswinder,
jaswinderrajput, tglx, mingo
Commit-ID: 87a7ed62d5324ef4f356e436ca6a8522151fdff1
Gitweb: http://git.kernel.org/tip/87a7ed62d5324ef4f356e436ca6a8522151fdff1
Author: Jaswinder Singh Rajput <jaswinder@kernel.org>
AuthorDate: Thu, 2 Jul 2009 22:35:35 +0530
Committer: Ingo Molnar <mingo@elte.hu>
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.
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>
---
arch/x86/include/asm/nmi.h | 1 -
arch/x86/kernel/cpu/perfctr-watchdog.c | 5 -----
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h
index c972644..c86e5ed 100644
--- a/arch/x86/include/asm/nmi.h
+++ b/arch/x86/include/asm/nmi.h
@@ -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);
diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c
index 5c481f6..e60ed74 100644
--- a/arch/x86/kernel/cpu/perfctr-watchdog.c
+++ b/arch/x86/kernel/cpu/perfctr-watchdog.c
@@ -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;
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [tip:x86/urgent] x86: Remove unused function lapic_watchdog_ok()
2009-07-02 17:05 [PATCH -tip] x86: Remove useless function lapic_watchdog_ok() Jaswinder Singh Rajput
2009-07-03 9:36 ` [tip:x86/urgent] x86: Remove unused " tip-bot for Jaswinder Singh Rajput
@ 2009-07-03 12:45 ` tip-bot for Jaswinder Singh Rajput
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Jaswinder Singh Rajput @ 2009-07-03 12:45 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, yinghai, andi, jaswinder,
jaswinderrajput, tglx, mingo
Commit-ID: c7210e1ff8a95a0a6dba0d04a95b3ddd9d165fab
Gitweb: http://git.kernel.org/tip/c7210e1ff8a95a0a6dba0d04a95b3ddd9d165fab
Author: Jaswinder Singh Rajput <jaswinder@kernel.org>
AuthorDate: Thu, 2 Jul 2009 22:35:35 +0530
Committer: Ingo Molnar <mingo@elte.hu>
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.
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>
---
arch/x86/include/asm/nmi.h | 1 -
arch/x86/kernel/cpu/perfctr-watchdog.c | 5 -----
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h
index c972644..c86e5ed 100644
--- a/arch/x86/include/asm/nmi.h
+++ b/arch/x86/include/asm/nmi.h
@@ -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);
diff --git a/arch/x86/kernel/cpu/perfctr-watchdog.c b/arch/x86/kernel/cpu/perfctr-watchdog.c
index 5c481f6..e60ed74 100644
--- a/arch/x86/kernel/cpu/perfctr-watchdog.c
+++ b/arch/x86/kernel/cpu/perfctr-watchdog.c
@@ -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;
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-03 12:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 17:05 [PATCH -tip] x86: Remove useless function lapic_watchdog_ok() Jaswinder Singh Rajput
2009-07-03 9:36 ` [tip:x86/urgent] x86: Remove unused " tip-bot for Jaswinder Singh Rajput
2009-07-03 12:45 ` tip-bot for Jaswinder Singh Rajput
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox