summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2014-04-03 14:48:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-03 16:21:07 -0700
commitc64730b26f08cccfbc8fcbf169c304b4bd71dcac (patch)
tree786a2d61ec41f42fbf77c42bbf1362bdeb645d20
parent0185698c0f543d4e8677bb97227ebe46024e3eb8 (diff)
downloadblackbird-op-linux-c64730b26f08cccfbc8fcbf169c304b4bd71dcac.tar.gz
blackbird-op-linux-c64730b26f08cccfbc8fcbf169c304b4bd71dcac.zip
printk: remove obsolete check for log level "c"
The kernel log level "c" was removed in commit 61e99ab8e35a ("printk: remove the now unnecessary "C" annotation for KERN_CONT"). It is no longer detected in printk_get_level(). Hence we do not need to check it in vprintk_emit. Signed-off-by: Petr Mladek <pmladek@suse.cz> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jan Kara <jack@suse.cz> Cc: Michal Hocko <mhocko@suse.cz> Cc: Kay Sievers <kay@vrfy.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--kernel/printk/printk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 4dae9cbe9259..db7a02e05241 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -1560,8 +1560,6 @@ asmlinkage int vprintk_emit(int facility, int level,
level = kern_level - '0';
case 'd': /* KERN_DEFAULT */
lflags |= LOG_PREFIX;
- case 'c': /* KERN_CONT */
- break;
}
text_len -= end_of_header - text;
text = (char *)end_of_header;
OpenPOWER on IntegriCloud