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)
commitdeaf160f8aa767f1b2cd53f1834c1a4126815631
tree74399731b01d22aa086ebe7efed4b48ab95960bf
parentb4b10061ef98c583bcf82a4200703fbaa98c18dc
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