cifs: remove redundant variable tcon_exist
authorColin Ian King <colin.i.king@gmail.com>
Tue, 16 Jan 2024 10:51:34 +0000 (10:51 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 16 Jan 2024 23:19:46 +0000 (17:19 -0600)
commit8ca5d2641be217a78a891d4dbe2a46232d1d8eb9
tree5b70f0d37cf512cbffb684fc8abe15f94ab067be
parent84e9a2d5517bf62edda74f382757aa173b8e45fd
cifs: remove redundant variable tcon_exist

The variable tcon_exist is being assigned however it is never read, the
variable is redundant and can be removed.

Cleans up clang scan build warning:
warning: Although the value stored to 'tcon_exist' is used in
the enclosing expression, the value is never actually readfrom
'tcon_exist' [deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c