summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2019-02-12 15:30:03 +0100
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2019-12-17 22:00:10 +0100
commit35a550e0af7946f894d89a6e6f2d0991f71547e6 (patch)
tree3e3842da9ab2bac70ad06291f050d46717cafab2 /lib
parent785e6b783625b8134aa15410e3010d047edd3cdc (diff)
downloadlinux-rt-35a550e0af7946f894d89a6e6f2d0991f71547e6.tar.gz
printk: remove unused code
Code relating to the safe context and anything dealing with the previous log buffer implementation is no longer in use. Remove it. Signed-off-by: John Ogness <john.ogness@linutronix.de> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/bust_spinlocks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/bust_spinlocks.c b/lib/bust_spinlocks.c
index 8be59f84eaea..c6e083323d1b 100644
--- a/lib/bust_spinlocks.c
+++ b/lib/bust_spinlocks.c
@@ -26,7 +26,6 @@ void bust_spinlocks(int yes)
unblank_screen();
#endif
console_unblank();
- if (--oops_in_progress == 0)
- wake_up_klogd();
+ --oops_in_progress;
}
}