]> git.baikalelectronics.ru Git - kernel.git/commit
printk: Remove write only variable nr_ext_console_drivers
authorThomas Gleixner <tglx@linutronix.de>
Sat, 24 Sep 2022 00:04:39 +0000 (02:10 +0206)
committerPetr Mladek <pmladek@suse.com>
Thu, 29 Sep 2022 13:20:36 +0000 (15:20 +0200)
commit150b9dc1fe58bf2ed5612cfe6f8f9f05252b0cf9
tree07da01d6513fccf32e4f0f885eea74792c4458dc
parent98981fcff194e38743b848819e25d74eb3cf6ef9
printk: Remove write only variable nr_ext_console_drivers

Commit 5f368c493f7c ("printk: refactor and rework printing logic")
removed the need for @nr_ext_console_drivers. Remove the unneeded
variable.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220924000454.3319186-4-john.ogness@linutronix.de
kernel/printk/printk.c