cifs: remove redundant initialization of variable rc
authorColin Ian King <colin.king@canonical.com>
Sun, 13 Jun 2021 14:01:23 +0000 (15:01 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 21 Jun 2021 02:28:16 +0000 (21:28 -0500)
commit032e091d3e3b260f3f85d8bd781d99690589085c
tree5d9199d98ce662b842564daf9a68dfdf27d6fe5d
parent57c8ce7ab3fc2ac894d4a0f26776fbd7a5fd48bc
cifs: remove redundant initialization of variable rc

The variable rc is being initialized with a value that is never read, the
assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifssmb.c