[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-87a7ed62d5324ef4f356e436ca6a8522151fdff1@git.kernel.org>
Date: Fri, 3 Jul 2009 09:36:50 GMT
From: tip-bot for Jaswinder Singh Rajput <jaswinder@...nel.org>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
yinghai@...nel.org, andi@...stfloor.org, jaswinder@...nel.org,
jaswinderrajput@...il.com, tglx@...utronix.de, mingo@...e.hu
Subject: [tip:x86/urgent] x86: Remove unused function lapic_watchdog_ok()
Commit-ID: 87a7ed62d5324ef4f356e436ca6a8522151fdff1
Gitweb: http://git.kernel.org/tip/87a7ed62d5324ef4f356e436ca6a8522151fdff1
Author: Jaswinder Singh Rajput <jaswinder@...nel.org>
AuthorDate: Thu, 2 Jul 2009 22:35:35 +0530
Committer: Ingo Molnar <mingo@...e.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@...il.com>
Cc: Andi Kleen <andi@...stfloor.org>
Cc: Yinghai Lu <yinghai@...nel.org>
LKML-Reference: <1246554335.2242.29.camel@...winder.satnam>
Signed-off-by: Ingo Molnar <mingo@...e.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;
-}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists