scsi: qla2xxx: Remove a superfluous pointer check
authorBart Van Assche <bvanassche@acm.org>
Fri, 9 Aug 2019 03:01:37 +0000 (20:01 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Aug 2019 01:34:05 +0000 (21:34 -0400)
commit53be100b36aeca6bbc611edd07ce65fdba8b18ac
tree14077ccf6f6adc313c606b6950d9264aab57bb24
parent09434912ed4c0b6948fee8b0bb1b058211ef4cac
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>
drivers/scsi/qla2xxx/qla_nvme.c