diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2022-06-07 12:49:24 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 13:37:02 +0200 |
| commit | 6364d391363a0ac498a852ff4bec32d82e913ee8 (patch) | |
| tree | abdf874a2c944af54460be2f9d4e24342571faf6 /include | |
| parent | 6e4e8d74664a2bf46c74dfcf0d8a600acbbc4d6d (diff) | |
tty/vt: consolemap: make con_get_unimap() more readable
The indentation is completely broken in con_get_unimap(). Reorder the
code using "if (!cond) continue;"s so that the code makes sense. Switch
also the "p" assignment and add a short path using goto. This makes the
code readable again.
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-14-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
