]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 12 Apr 2021 04:22:19 +0000 (23:22 -0500)
commitfeec6630c4fa4bc2bd4baa8d0f8137a623f85209
tree5e60e0fdaf3ee34b5376cf3d83c6c6ce1b7b10e1
parent9c97766558f0cf4a93dcce248be232f1c6587100
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