diff options
| author | Michael Straube <[email protected]> | 2022-03-29 12:37:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-04 07:33:47 +0200 |
| commit | b5ea08d84f2d3a37835688ca713bfa460891c168 (patch) | |
| tree | a8f92e616fa5ff4f179ebfeae32102cc259af199 /tools/perf/scripts/python/flamegraph.py | |
| parent | 38238ecbfb63bbcfb27ee28951b2b0692daf6133 (diff) | |
staging: r8188eu: refactor rtw_usb_bulk_size_boundary()
Using ternary operator to set a variable to true or false is not
needed. Convert two such uses of ternary operator in
rtw_usb_bulk_size_boundary() to just use the condition and return the
value directly instead of using a return variable. This shortens the
code and improves readability. While at it, remove an unneeded line
break from the function head.
Signed-off-by: Michael Straube <[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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions