diff options
| author | 2022-06-07 12:49:30 +0200 | |
|---|---|---|
| committer | 2022-06-10 13:37:02 +0200 | |
| commit | 50c92a1b2d50611d49a8027027536c7a5003d049 (patch) | |
| tree | e081658caff528c5cf5bb2afd6b3022ea0e5318b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | tty/vt: consolemap: extract dict unsharing to con_unshare_unimap() (diff) | |
tty/vt: consolemap: saner variable names in set_inverse_trans_unicode()
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 <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220607104946.18710-20-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
