printk: inline log_output(),log_store() in vprintk_store()
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 9 Dec 2020 00:44:52 +0000 (01:50 +0106)
committerPetr Mladek <pmladek@suse.com>
Wed, 9 Dec 2020 10:30:53 +0000 (11:30 +0100)
commit6b916706f8f09348cfa4fdd3642ebf87d6a2a26b
treec4e0a3b497e00f6eb382e5899e070b99eab7b30f
parent43d6ecd97c0c69acffc918cc18cdabdfcaa55354
printk: inline log_output(),log_store() in vprintk_store()

In preparation for removing logbuf_lock, inline log_output()
and log_store() into vprintk_store(). This will simplify dealing
with the various code branches and fallbacks that are possible.

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