aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2017-07-09 22:22:46 -0500
committerGreg Kroah-Hartman <[email protected]>2017-07-17 13:13:44 +0200
commit020e03b78312ab0df1fd3c4ea62e675724cd18cf (patch)
treef9ca2feccb6b481baf1ec1e4daa3af05883dc700 /tools/perf/scripts/python/check-perf-trace.py
parente6f9e13b62bad739a9fc095e061dc9fc8cf4168c (diff)
usb: misc: ftdi-elan: compress return logic into one line
Simplify return logic to avoid unnecessary variable declaration and assignment. This issue was detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions