diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 08:39:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-06 08:35:38 +0100 |
| commit | 555b4ef79797f10079760b3c8712d9ed99c9d680 (patch) | |
| tree | 74db6784c9c6d346989beee13c9314ffa8831189 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | vt: selection, remove 2 local variables from set_selection_kernel (diff) | |
| download | linux-555b4ef79797f10079760b3c8712d9ed99c9d680.tar.gz linux-555b4ef79797f10079760b3c8712d9ed99c9d680.zip | |
vt: selection, localize use_unicode
use_unicode needs not be global. It is used only in set_selection_kernel
and sel_pos (a callee). It is also always set there prior calling
sel_pos. So make use_unicode local and rename it to plain shorter
"unicode". Finally, propagate it to sel_pos via parameter.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219073951.16151-4-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
