diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-10-17 02:26:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:42:50 -0400 |
commit | a4d63e729edad704af95e5f2a56e8c8eaaa5216b (patch) | |
tree | d2f8e48d9c74550e3054ba2b8ac9f5e88784f8ad /kernel/rtmutex-debug.c | |
parent | 6d76013381ed28979cd122eb4b249a88b5e384fa (diff) |
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 <bunk@stusta.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/rtmutex-debug.c')
-rw-r--r-- | kernel/rtmutex-debug.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/rtmutex-debug.c b/kernel/rtmutex-debug.c index 5aedbee014df..6b0703db152d 100644 --- a/kernel/rtmutex-debug.c +++ b/kernel/rtmutex-debug.c | |||
@@ -82,12 +82,7 @@ do { \ | |||
82 | * into the tracing code when doing error printk or | 82 | * into the tracing code when doing error printk or |
83 | * executing a BUG(): | 83 | * executing a BUG(): |
84 | */ | 84 | */ |
85 | int rt_trace_on = 1; | 85 | static int rt_trace_on = 1; |
86 | |||
87 | void deadlock_trace_off(void) | ||
88 | { | ||
89 | rt_trace_on = 0; | ||
90 | } | ||
91 | 86 | ||
92 | static void printk_task(struct task_struct *p) | 87 | static void printk_task(struct task_struct *p) |
93 | { | 88 | { |