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

Commit c64730b2 authored by Petr Mladek's avatar Petr Mladek Committed by Linus Torvalds
Browse files

printk: remove obsolete check for log level "c"



The kernel log level "c" was removed in commit 61e99ab8 ("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: default avatarPetr 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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0185698c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;