diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-04-17 14:44:18 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-04-29 17:24:49 -0400 |
commit | dafbe56f6e338c7f583a524c714942f892c1f50a (patch) | |
tree | ad36f1b9d655f2fef0eeddb26f9793ee8ed627ee /ipc | |
parent | 12975426d8889ce42821e9e0348f9a2da343779a (diff) |
scsi: qla2xxx: Remove the fcport test from qla_nvme_abort_work()
Testing whether a pointer is not NULL after it has been dereferenced is not
useful. Hence remove the if (fcport) test. This was detected by Coverity.
Cc: Himanshu Madhani <hmadhani@marvell.com>
Cc: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions