diff options
| author | Jiri Slaby <[email protected]> | 2020-02-19 08:39:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-06 08:35:38 +0100 |
| commit | 101f227c24038aed5bd821414fdd9e9a3509484a (patch) | |
| tree | 0628321beaf2d5700bb1782525ac914d7b936a50 /tools/perf/scripts/python | |
| parent | ba08cf452f3493e96793c9fec4ebb45e7101a0c0 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions