commit | 44ed33e6c5d58342a9bc86172ad121c0687bb890 | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Tue Aug 22 15:53:53 2017 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Aug 24 22:29:09 2017 -0400 |
tree | 7a48860c784061b54e1c4c244dc6252ee99b893b | |
parent | 6a8dadcca81fceff9976e8828cceb072873b7bd5 [diff] |
scsi: lpfc: remove useless code in lpfc_sli4_bsg_link_diag_test Remove variable assignments. The value stored in local variable _rc_ is overwritten at line 2448:rc = lpfc_sli4_bsg_set_link_diag_state(phba, 0); before it can be used. Addresses-Coverity-ID: 1226935 Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>