lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] printk: Remove print_prefix() calls with NULL buffer.
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@I-love.SAKURA.ne.jp>

Nice clean up. It makes the code better readable.

Acked-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

\
 
 \ /
  Last update: 2018-12-11 16:24    [W:0.462 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site