aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorwengjianfeng <[email protected]>2021-04-12 10:20:06 +0800
committerDavid S. Miller <[email protected]>2021-04-12 13:23:03 -0700
commita115d24a636e892ddd1ae58f8e23c78a0390cb68 (patch)
treea52dd32aa2cee8b8b6d92819cec29f9eb507f82a /tools/perf/scripts/python/check-perf-trace.py
parent5711ffd31355e17d87710e7691899409a640f58a (diff)
nfc: pn533: remove redundant assignment
In many places,first assign a value to a variable and then return the variable. which is redundant, we should directly return the value. in pn533_rf_field funciton,return rc also in the if statement, so we use return 0 to replace the last return rc. Signed-off-by: wengjianfeng <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions