diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2020-02-19 08:39:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-06 08:35:38 +0100 |
| commit | 101f227c24038aed5bd821414fdd9e9a3509484a (patch) | |
| tree | 0628321beaf2d5700bb1782525ac914d7b936a50 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge 5.6-rc3 into tty-next (diff) | |
| download | linux-101f227c24038aed5bd821414fdd9e9a3509484a.tar.gz linux-101f227c24038aed5bd821414fdd9e9a3509484a.zip | |
vt: selection, remove 2 local variables from set_selection_kernel
multiplier and mode are not actually needed:
* multiplier is used only in kmalloc_array, so use "use_unicode ? 4 : 1"
directly
* mode is used only to assign a bool in this manner:
if (cond)
x = true;
else
x = false;
So do "x = cond" directly.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200219073951.16151-3-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
