cifs: remove redundant initialization to variable mnt_sign_enabled
authorColin Ian King <colin.i.king@gmail.com>
Tue, 28 Jun 2022 21:32:29 +0000 (22:32 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Aug 2022 06:34:44 +0000 (01:34 -0500)
commit4da2cd0517e08c2a996b5f3e8914bdda0286d911
tree104a4622a2a9e677017cb3802f2a02a348ce01b7
parent5fa2cffba0b82336a2244d941322eb1627ff787b
cifs: remove redundant initialization to variable mnt_sign_enabled

Variable mnt_sign_enabled is being initialized with a value that
is never read, it is being reassigned later on with a different
value. The initialization is redundant and can be removed.

Cleans up clang scan-build warning:
fs/cifs/cifssmb.c:465:7: warning: Value stored to 'mnt_sign_enabled
 during its initialization is never read

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