cifs: remove redundant variable tcon_exist
authorSteve French <stfrench@microsoft.com>
Sun, 28 Jan 2024 22:50:02 +0000 (16:50 -0600)
committerSteve French <stfrench@microsoft.com>
Sun, 28 Jan 2024 22:50:02 +0000 (16:50 -0600)
commitce671c5da7f7179c5031c21ea664758720c214bd
treec58a681668645a6f7187cb7cd124b6953de14cab
parent5754d0e439fcb655db5a0c3610b91fb3e117b554
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/cifs/smb2pdu.c