diff options
| author | Bart Van Assche <[email protected]> | 2019-08-08 20:01:47 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-08-12 21:34:06 -0400 |
| commit | 282d10565ee9b574c40b1233a7a666034e76aa4c (patch) | |
| tree | 2f8e4df55c47694f0589eed43fe4c041444d0c73 /tools/perf/scripts/python | |
| parent | 258f0752ef363caafb0bce311369d50c87aa0b25 (diff) | |
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 <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Tested-by: Himanshu Madhani <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions