]> git.baikalelectronics.ru Git - kernel.git/commit
tty/vt: consolemap: remove dflt reset from con_do_clear_unimap()
authorJiri Slaby <jslaby@suse.cz>
Tue, 14 Jun 2022 09:05:36 +0000 (11:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2022 12:17:12 +0000 (14:17 +0200)
commitaecfb132d8d657458e9f20f9903824df2b396d1c
tree6e92fcf8e171131158f844cb9ee072916f4e8a83
parentc228203c84d332cc6d5e8e9c31f12ebe81c06998
tty/vt: consolemap: remove dflt reset from con_do_clear_unimap()

con_do_clear_unimap() sets dflt to NULL and then calls
con_release_unimap() which does the very same as the first thing. So
remove the former as it is apparently superfluous.

Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220614090537.15557-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/consolemap.c