scsi: smartpqi: Remove NULL pointer check
authorKevin Barnett <kevin.barnett@microchip.com>
Fri, 28 Apr 2023 15:37:03 +0000 (10:37 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 8 May 2023 11:17:11 +0000 (07:17 -0400)
commit889cda36db99e3ef0c9a6d2e6c64de725913394b
tree42b9b1dcceda66d936b7bf127377550e7b579e92
parentfe0375d48513ce0e3d98dbcec5508e1dd09dc5b2
scsi: smartpqi: Remove NULL pointer check

Remove an unnecessary check for a NULL pointer.  This unnecessary check was
flagged by Coverity.

Reviewed-by: Scott Benesh <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20230428153712.297638-4-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/smartpqi/smartpqi_sas_transport.c