aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-04-17 14:44:27 -0700
committerMartin K. Petersen <[email protected]>2019-04-29 17:24:50 -0400
commitc04466c17142d5eb566984372b9a5003d1900fe3 (patch)
tree8864c0c911ee6a9d22c3fddf93267612dba892fd /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parente65449aa23fbeaba5b358f23a0c790cef6a77969 (diff)
scsi: qla2xxx: Fix error handling in qlt_alloc_qfull_cmd()
The test "if (!cmd)" is not useful because it is guaranteed that cmd != NULL. Instead of testing the cmd pointer, rely on the tag to decide whether or not command allocation failed. Cc: Himanshu Madhani <[email protected]> Cc: Giridhar Malavali <[email protected]> Fixes: 33e799775593 ("qla2xxx: Add support for QFull throttling and Term Exchange retry") # v3.18. Signed-off-by: Bart Van Assche <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions