diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2022-06-07 13:49:37 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-10 14:37:03 +0300 |
| commit | 3315f1aa85212960d1d0978f068f605e8ce000ea (patch) | |
| tree | f7e0c7bb50a5fbf9ad69cd6117329b3ed47c8a47 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 447e9a7c668113e85e2b6a7a330a3b517cae6c93 (diff) | |
| download | linux-3315f1aa85212960d1d0978f068f605e8ce000ea.tar.xz | |
tty/vt: consolemap: saner variable names in con_copy_unimap()
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.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-27-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
