diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-04-15 11:36:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-16 16:14:15 +0200 |
| commit | 8fd31e69f890f691b7c548de20a7ee74955df593 (patch) | |
| tree | 9a87b9a520cabfa01112f838f46a368c8e20f510 /tools/perf/scripts/python | |
| parent | vt: selection, split __set_selection_kernel (diff) | |
| download | linux-8fd31e69f890f691b7c548de20a7ee74955df593.tar.gz linux-8fd31e69f890f691b7c548de20a7ee74955df593.zip | |
vt: extract selection chars storing from vc_do_selection
Let's put it to a separate function, named vc_selection_store_chars.
Again, this makes vc_do_selection a bit shorter and more readable.
Having 4 local variables instead of 12 (5.6-rc1) looks much better now.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200415093608.10348-2-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
