summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_bsg.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-08-13 16:23:49 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-08-20 04:51:00 +0300
commit9730ddfb123db3f37ace7571176661257712c99b (patch)
tree2f29f8ba00c3c2f198b8ae89eddb863133a468a8 /drivers/scsi/lpfc/lpfc_bsg.c
parent3cf92f4bfccbb3e378cd86dc46e09c2bc18cda26 (diff)
downloadlinux-9730ddfb123db3f37ace7571176661257712c99b.tar.xz
scsi: fnic: remove redundant assignment of variable rc
Variable ret is initialized to a value that is never read and it is re-assigned later and immediately returns. Clean up the code by removing rc and just returning 0. [mkp: typo] Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Karan Tilak Kumar <kartilak@cisco.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_bsg.c')
0 files changed, 0 insertions, 0 deletions