diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-06-07 12:49:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 13:37:01 +0200 |
commit | 2097dc2273a5b5254d0fad79afdedd223035b2d5 (patch) | |
tree | 1d252c146b5d4354633f6c193cd463b45d669030 /include/linux/consolemap.h | |
parent | db8f597a47127d0554f9c059a6da35f3ff34e773 (diff) |
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>
Diffstat (limited to 'include/linux/consolemap.h')
0 files changed, 0 insertions, 0 deletions