]> 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, 19 Apr 2021 00:20:50 +0000 (19:20 -0500)
commitf8c861a5448a23982f78733fee7e083183137771
tree765d7013455293ccfd3d6424ac9d269edc1ea7ea
parent0f66f043d0dcfdcfe4d23b4d9f2494bceaf990a0
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