]> git.baikalelectronics.ru Git - kernel.git/commit
cifsd: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 25 Mar 2021 17:35:38 +0000 (17:35 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 11 May 2021 00:15:26 +0000 (19:15 -0500)
commit9fa9295bf19f4ecbd84c8305080f1b27b7f1081d
tree94da6afffcd8f39c0288d12570141093212cd312
parent770e1f1467e6fd2068af5201fc6c8e3ce9216cae
cifsd: remove redundant assignment to variable err

The variable err is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/vfs.c