aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-08-08 20:01:47 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-12 21:34:06 -0400
commit282d10565ee9b574c40b1233a7a666034e76aa4c (patch)
tree2f8e4df55c47694f0589eed43fe4c041444d0c73 /tools/perf/scripts/python/stackcollapse.py
parentscsi: qla2xxx: Remove dead code (diff)
downloadlinux-282d10565ee9b574c40b1233a7a666034e76aa4c.tar.gz
linux-282d10565ee9b574c40b1233a7a666034e76aa4c.zip
scsi: qla2xxx: Simplify a debug statement
Read the FC port state once instead of twice. This patch fixes the following Coverity complaint: Unchecked return value (CHECKED_RETURN) check_return: Calling atomic_read without checking return value (as is done elsewhere 80 out of 92 times). Cc: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Himanshu Madhani <hmadhani@marvell.com> Reviewed-by: Himanshu Madhani <hmadhani@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions