]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24ad0b99e0eda37f6594a4943b810be267446fe0
tree5d9199d98ce662b842564daf9a68dfdf27d6fe5d
parent358856dcb9d9094c887e994309ce36d42734c0cf
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