[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z1mgmT8HlkGR6UEN@pathway.suse.cz>
Date: Wed, 11 Dec 2024 15:24:25 +0100
From: Petr Mladek <pmladek@...e.com>
To: John Ogness <john.ogness@...utronix.de>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>,
Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
Rik van Riel <riel@...riel.com>, Omar Sandoval <osandov@...a.com>
Subject: Re: [PATCH printk v1 1/2] printk: Remove redundant deferred check in
vprintk()
On Mon 2024-12-09 12:23:45, John Ogness wrote:
> The helper printk_get_console_flush_type() is already calling
> is_printk_legacy_deferred() to determine if legacy printing is
> to be offloaded. Therefore there is no need for vprintk() to
> perform this check as well. Remove the redundant check from
> vprintk().
>
> Signed-off-by: John Ogness <john.ogness@...utronix.de>
Great catch!
Reviewed-by: Petr Mladek <pmladek@...e.com>
Best Regards,
Petr
Powered by blists - more mailing lists