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 --- This patch has been sent on: - 1 Jul 2007 - 4 Apr 2007 Signed-off-by: Andrew Morton --- kernel/rtmutex-debug.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) diff -puN kernel/rtmutex-debug.c~kernel-rtmutex-debugc-cleanups kernel/rtmutex-debug.c --- a/kernel/rtmutex-debug.c~kernel-rtmutex-debugc-cleanups +++ a/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) { _