]> git.baikalelectronics.ru Git - kernel.git/commit
fs: cifs: cifsssmb: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Tue, 23 Jul 2019 15:09:19 +0000 (16:09 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:37 +0000 (11:43 -0500)
commitee66e74ea10eb4ba4b7052830cf34a6e8af3c4a7
tree8352c20a21a277cdf13848cc606543d277f4236a
parent440f21e19379b833422134569c19a9b91f26e6d8
fs: cifs: cifsssmb: remove redundant assignment to variable ret

The variable ret is being initialized however this is never read
and later it is being reassigned to a new value. The initialization
is redundant and hence 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