aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-03-16 22:57:09 +0000
committerMartin K. Petersen <[email protected]>2019-03-27 20:56:35 -0400
commit8378573353728a02602d6f956a3df48db0505c65 (patch)
treeb76417e30987f0778985dcf6bcca9a8373937e63 /tools/perf/scripts/python/bin/stackcollapse-record
parent82129697df9d90afd22736acd89d24f98bde2522 (diff)
scsi: libcxgbi: remove uninitialized variable len
The variable len is not being inintialized and the uninitialized value is being returned. However, this return path is never reached because the default case in the switch statement returns -ENOSYS. Clean up the code by replacing the return -ENOSYS with a break for the default case and returning -ENOSYS at the end of the function. This allows len to be removed. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions