]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove redundant initialization of variable rc
authorColin Ian King <colin.king@canonical.com>
Wed, 27 May 2020 12:50:31 +0000 (13:50 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Jun 2020 05:10:18 +0000 (00:10 -0500)
commita2ff8849ed7dfd3c401e2a6b19a01e4851acc0d8
treea148e5f5452e6d35865de58901376ef2679ed4ef
parent4c827385d8850e8020f456b30069e7ffb252ad75
cifs: remove redundant initialization of variable rc

The variable rc is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifssmb.c