Skip to contentSkip to conversation

kernel/rtmutex-debug.c: cleanups

PATCH New Adrian Bunk 1 participant 1 message Jul 1, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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()

---

This patch has been sent on:
- 4 Apr 2007

kernel/rtmutex-debug.c renamed from kernel/rtmutex-debug.c.old +1 -6
@@ -88,12 +88,7 @@
  * 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)
 {