aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-02 07:12:01 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-03 07:01:36 -0500
commit041b67b389fc0118015e5adc62725d89127dcc71 (patch)
treec380ff260d1dc2be43a62f51b3f3632877d55c8a /tools/perf/scripts/python/stackcollapse.py
parent22eb36b8142b1f07f23c365e87a5dad6c9f233f1 (diff)
staging: rts5208: remove redundant retval status check
The retval status checks in the proceeding do loop return out of function ms_read_attritbute_info if there is an error condition, thus we never reach the end of the loop with retval failed status. Therefore, the retval status check at end of the do loop is redundant and can be removed. Detected with CoverityScan, CID#143000 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions