printk: call boot_delay_msec() in printk_delay()
authorJohn Ogness <john.ogness@linutronix.de>
Thu, 21 Apr 2022 21:22:42 +0000 (23:28 +0206)
committerPetr Mladek <pmladek@suse.com>
Fri, 22 Apr 2022 19:30:57 +0000 (21:30 +0200)
commit1f47e8af45fdd754c5538f8aeb7857a6c087fd6a
tree0b2cd0a9112aacd8a8f5ad0a87f4b7c934a95a97
parent9f0844de49cf0557d5c359131004acbb179c174e
printk: call boot_delay_msec() in printk_delay()

boot_delay_msec() is always called immediately before printk_delay()
so just call it from within printk_delay().

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220421212250.565456-8-john.ogness@linutronix.de
kernel/printk/printk.c