From a4d63e729edad704af95e5f2a56e8c8eaaa5216b Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 16 Oct 2007 23:26:40 -0700 Subject: kernel/rtmutex-debug.c: cleanups This patch contains the following cleanups: - make the needlessly global variable rt_trace_on static - remove the unused global function deadlock_trace_off() Signed-off-by: Adrian Bunk Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/rtmutex-debug.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'kernel/rtmutex-debug.c') diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index 5aedbee014d..6b0703db152 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c @@ -82,12 +82,7 @@ do { \ * into the tracing code when doing error printk or * executing a BUG(): */ -int rt_trace_on = 1; - -void deadlock_trace_off(void) -{ - rt_trace_on = 0; -} +static int rt_trace_on = 1; static void printk_task(struct task_struct *p) { -- cgit v1.2.3-18-g5258