scsi: lpfc: remove redundant assignment of sgel
authorJames Smart <jsmart2021@gmail.com>
Sat, 4 Mar 2017 17:30:21 +0000 (09:30 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 7 Mar 2017 04:04:22 +0000 (23:04 -0500)
commit70e5afd57d6d97d69bf5fd0187c2bb5a79990504
tree45469ee0e7d35e63ec60312aa45152e1e52efd3c
parent33cc559a81397bc813c392617d40ddfdfa3cffbd
scsi: lpfc: remove redundant assignment of sgel

From: Colin Ian King <colin.king@canonical.com>

In the NVMET_FCOP_RSP case, sgel is assigned but never used and
hence is redundant and can be removed.

Detected by CoverityScan, CID#1411658 ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvmet.c