summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_target.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2019-08-09 05:01:37 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-13 03:34:05 +0200
commit53be100b36aeca6bbc611edd07ce65fdba8b18ac (patch)
tree14077ccf6f6adc313c606b6950d9264aab57bb24 /drivers/scsi/qla2xxx/qla_target.c
parentscsi: qla2xxx: Simplify qlt_lport_dump() (diff)
downloadlinux-53be100b36aeca6bbc611edd07ce65fdba8b18ac.tar.xz
linux-53be100b36aeca6bbc611edd07ce65fdba8b18ac.zip
scsi: qla2xxx: Remove a superfluous pointer check
Checking a pointer after it has been dereferenced is not useful. This was detected by Coverity. 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 'drivers/scsi/qla2xxx/qla_target.c')
0 files changed, 0 insertions, 0 deletions