aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2021-06-18 08:14:45 +0200
committerGreg Kroah-Hartman <[email protected]>2021-06-18 13:10:01 +0200
commit238d117d17516f92f5db958809ddec30731e9342 (patch)
tree37adb9999e9d9f780012dbf768b3050852faab0e /tools/perf/scripts/python
parent9fae5f857e124e843c7a41a04a49b3f9256a2d77 (diff)
mxser: simplify mxser_ioctl_op_mode
* ModeMask local array is just inverted OP_MODE_MASK shifted by shiftbit. Drop this array and use the value directly. * return from the if's true branch and drop 'else' branch by moving the code completely outside the if. 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