]> git.baikalelectronics.ru Git - kernel.git/commit
tty/vt: consolemap: decrypt inverse_translate()
authorJiri Slaby <jslaby@suse.cz>
Tue, 7 Jun 2022 10:49:14 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jun 2022 11:37:01 +0000 (13:37 +0200)
commit31b70481ec74dfbc643b1a46c9fd6ec4ecf8b392
tree1d252c146b5d4354633f6c193cd463b45d669030
parentdbff21dd1bed88f2935ca97a318226474f5a7074
tty/vt: consolemap: decrypt inverse_translate()

Fix invalid indentation and demystify the code by removing superfluous
"else"s. The "else"s are unneeded as they always follow an "if"-true
branch containing a "return". The code is now way more readable.

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