printk: console: remove unnecessary safe buffer usage
authorJohn Ogness <john.ogness@linutronix.de>
Wed, 3 Mar 2021 10:15:28 +0000 (11:15 +0100)
committerPetr Mladek <pmladek@suse.com>
Mon, 8 Mar 2021 10:43:38 +0000 (11:43 +0100)
commit505a27a7342912f25ef3d9dabd6a08857e76efc2
treeec4db965b94ebfcb88137893875d2619ec400664
parenta4f987653241db9fa1f99531b430cebb83f1eae1
printk: console: remove unnecessary safe buffer usage

Upon registering a console, safe buffers are activated when setting
up the sequence number to replay the log. However, these are already
protected by @console_sem and @syslog_lock. Remove the unnecessary
safe buffer usage.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210303101528.29901-16-john.ogness@linutronix.de
kernel/printk/printk.c