summaryrefslogtreecommitdiff
path: root/drivers/target/iscsi/iscsi_target_login.c
diff options
context:
space:
mode:
authorJing Xiangfeng <jingxiangfeng@huawei.com>2020-09-14 10:32:07 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-09-15 18:06:00 -0400
commit1c370903d12d6787db7c7509994e7b5d33daa2c1 (patch)
tree4c9193a35b1d56c87df2461a658a81aa8fe6abb1 /drivers/target/iscsi/iscsi_target_login.c
parentd251193d17321d44f96b78d9bb4c8b8ea6786e72 (diff)
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/target/iscsi/iscsi_target_login.c')
0 files changed, 0 insertions, 0 deletions