diff options
| author | 2022-06-07 12:49:33 +0200 | |
|---|---|---|
| committer | 2022-06-10 13:37:02 +0200 | |
| commit | c3fd9f7121f0a9619f8a8ef53c9f543bcc522dfe (patch) | |
| tree | ada112ac42f4897c308e379aff741a7fe0eaee19 /tools/perf/scripts/python | |
| parent | tty/vt: consolemap: saner variable names in con_insert_unipair() (diff) | |
tty/vt: consolemap: saner variable names in con_unify_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-23-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
