Re: [PATCH printk v1 1/2] printk: Remove redundant deferred check in vprintk()

From: Petr Mladek
Date: Wed Dec 11 2024 - 09:24:43 EST


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@xxxxxxxxxxxxx>

Great catch!

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr