Re: [PATCH] printk: Remove print_prefix() calls with NULL buffer.

From: Petr Mladek
Date: Tue Dec 11 2018 - 10:24:05 EST


On Tue 2018-12-11 18:49:05, Tetsuo Handa wrote:
> We can save lines/size by removing print_prefix() with buf == NULL.
> This patch makes no functional change.
>
> Signed-off-by: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>

Nice clean up. It makes the code better readable.

Acked-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr