printk: Remove print_prefix() calls with NULL buffer.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Tue, 11 Dec 2018 09:49:05 +0000 (18:49 +0900)
committerPetr Mladek <pmladek@suse.com>
Wed, 12 Dec 2018 10:21:14 +0000 (11:21 +0100)
commit07c17732bd687567802aaa5fa5c101c2776565d1
tree275be05af0872ec5ab06592d9a3a12ddd0868b90
parente80c1a9d5f514ce5134c6c4263a11607341466c9
printk: Remove print_prefix() calls with NULL buffer.

We can save lines/size by removing print_prefix() with buf == NULL.
This patch makes no functional change.

Link: http://lkml.kernel.org/r/1544521745-11925-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp
To: Steven Rostedt <rostedt@goodmis.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/printk/printk.c