diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-09-14 05:32:07 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-09-16 01:06:00 +0300 |
commit | 1c370903d12d6787db7c7509994e7b5d33daa2c1 (patch) | |
tree | 4c9193a35b1d56c87df2461a658a81aa8fe6abb1 /drivers/scsi/megaraid/megaraid_sas_base.c | |
parent | d251193d17321d44f96b78d9bb4c8b8ea6786e72 (diff) | |
download | linux-1c370903d12d6787db7c7509994e7b5d33daa2c1.tar.xz |
scsi: target: Remove redundant assignment to variable 'ret'
The variable ret has been initialized with a value '0'. The assignment in
switch-case is redundant. Remove it.
Link: https://lore.kernel.org/r/20200914023207.113792-1-jingxiangfeng@huawei.com
Reviewed-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions