aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-04-18 11:46:32 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2022-04-20 13:41:17 -0700
commitc8eefa0f2a3ba3d94cad691a698017d5a9525f6a (patch)
tree49ad0f00087ebd59941bf74ec5797d9356e5eb2c /tools/perf/scripts/python/event_analyzing_sample.py
parent66ab05c75642712f382a17a887eb558caa6646e1 (diff)
Input: aiptek - remove redundant assignment to variable ret
Variable ret is being assigned a value that is never read, it is being re-assigned again in either path of the if statement. The assignment is redundant and can be removed. Cleans up clang scan build warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret' [deadcode.DeadStores] Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Link: https://lore.kernel.org/r/20220418142457.84708-1-colin.i.king@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions