aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-02-10 14:09:10 -0800
committerLinus Torvalds <[email protected]>2015-02-10 14:30:29 -0800
commite6d9f86d6b80dec23fd0e90bab114e642dac483e (patch)
treec793703efd0aae6b49afef6c39917d719e2dbc0e /tools/perf/scripts/python/check-perf-trace.py
parentd9510a20f81467b48cd005e86e17b5288990bc71 (diff)
ocfs2: o2net: silence uninitialized variable warning
Smatch complains that, if o2net_tx_can_proceed() returns false, then "sc" and "ret" are uninialized or maybe we are re-using the data from previous iteration. I do not know if we can hit this bug in real life but checking the return value is harmless and we may as well silence the static checker warning. Signed-off-by: Dan Carpenter <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Joel Becker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions