mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
6d76013381
commit
a4d63e729e
1 file changed
+1
-6
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user