]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita0b614054f81841ec8c36d2601c0930062d97c4f
tree104a4622a2a9e677017cb3802f2a02a348ce01b7
parent35f573474bea11847a019243782366037d86ee2d
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