Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4d63e72 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds
Browse files

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: default avatarAdrian Bunk <bunk@stusta.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6d760133
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -82,12 +82,7 @@ do { \
 * into the tracing code when doing error printk or
 * into the tracing code when doing error printk or
 * executing a BUG():
 * executing a BUG():
 */
 */
int rt_trace_on = 1;
static int rt_trace_on = 1;

void deadlock_trace_off(void)
{
	rt_trace_on = 0;
}


static void printk_task(struct task_struct *p)
static void printk_task(struct task_struct *p)
{
{