diff options
| author | Thomas Gleixner <[email protected]> | 2022-09-24 00:04:40 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2022-09-29 13:20:44 +0000 |
| commit | eb4531b346c93fd01edc0cb155330bbee102d0bd (patch) | |
| tree | fe9da5dd881304e611317fc8a7f9478e166d6e89 | |
| parent | printk: Remove write only variable nr_ext_console_drivers (diff) | |
| download | kernel-eb4531b346c93fd01edc0cb155330bbee102d0bd.tar.gz kernel-eb4531b346c93fd01edc0cb155330bbee102d0bd.zip | |
printk: Remove bogus comment vs. boot consoles
The comment about unregistering boot consoles is just not matching the
reality. Remove it.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
| -rw-r--r-- | kernel/printk/printk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index d6bba2ea14e8..770511b89504 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3209,9 +3209,6 @@ void register_console(struct console *newcon) if (bootcon_enabled && ((newcon->flags & (CON_CONSDEV | CON_BOOT)) == CON_CONSDEV) && !keep_bootcon) { - /* We need to iterate through all boot consoles, to make - * sure we print everything out, before we unregister them. - */ for_each_console(con) if (con->flags & CON_BOOT) unregister_console(con); |
