diff options
author | Jiri Slaby <[email protected]> | 2022-06-14 11:05:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-06-27 14:17:12 +0200 |
commit | d524e1c764a6befcaf384f40b45d05ba63fc172f (patch) | |
tree | 4344cc50de5d5891e5eee8185c52859d6163d78b /include/linux/console_struct.h | |
parent | a7311228ae9bbfe532844ac55e8cfb68a574f2e1 (diff) |
tty/vt: consolemap: saner variable names in set_inverse_transl()
The function uses too vague variable names like i, j, k for iterators, p,
q, p1, p2 for pointers etc.
Rename all these, so that it is clear what is going on:
- dict: for dictionaries.
- d, r, g: for dir, row, glyph iterators -- these are unsigned now.
- dir, row: for directory and row pointers.
- glyph: for the glyph.
- and so on...
This is a lot of shuffling, but the result pays off, IMO.
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions