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>
This commit is contained in:
parent
33cc559a81
commit
70e5afd57d
|
@ -1445,7 +1445,6 @@ lpfc_nvmet_prep_fcp_wqe(struct lpfc_hba *phba,
|
|||
|
||||
case NVMET_FCOP_RSP:
|
||||
/* Words 0 - 2 */
|
||||
sgel = &rsp->sg[0];
|
||||
physaddr = rsp->rspdma;
|
||||
wqe->fcp_trsp.bde.tus.f.bdeFlags = BUFF_TYPE_BDE_64;
|
||||
wqe->fcp_trsp.bde.tus.f.bdeSize = rsp->rsplen;
|
||||
|
|
Loading…
Reference in New Issue