diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-08-13 16:23:49 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-20 04:51:00 +0300 |
commit | 9730ddfb123db3f37ace7571176661257712c99b (patch) | |
tree | 2f29f8ba00c3c2f198b8ae89eddb863133a468a8 /drivers/scsi/lpfc/lpfc_bsg.c | |
parent | 3cf92f4bfccbb3e378cd86dc46e09c2bc18cda26 (diff) | |
download | linux-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