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)
commit1afdea4f19a97ed98f65c41fd11c77e5264838ae
tree8352c20a21a277cdf13848cc606543d277f4236a
parentbecc2ba26ae65bfeaece35a1b67e8a54eb9677cf
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