]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Apr 2020 22:00:57 +0000 (23:00 +0100)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 May 2020 03:37:13 +0000 (20:37 -0700)
commit2bb4a7c57b13aaf070317c768a30a3b8091c9749
tree74399731b01d22aa086ebe7efed4b48ab95960bf
parentcd56a32f9ec0e8d8ea25f3cc22d6a2d09e3bc713
f2fs: remove redundant assignment to variable err

The variable err is being assigned 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>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c