scsi: lpfc: cleanup: Remove excess check on NVME io submit code path
authorJames Smart <jsmart2021@gmail.com>
Mon, 28 Jan 2019 19:14:18 +0000 (11:14 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Feb 2019 03:22:42 +0000 (22:22 -0500)
commite960f5ab40b6a31847c4b259aaece4a4b29556ad
tree0380dc511633e88d0a063b54ed070276073e200a
parent0b05e9fe1fd1d6a4f80449743f146dfe162907fc
scsi: lpfc: cleanup: Remove excess check on NVME io submit code path

lpfc_nvme_prep_io_cmd() checks for null pnode, but caller
lpfc_nvme_fcp_io_submit() has already ensured it's non-null.

Remove the pnode null check.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c