OSDN Git Service

f2fs: remove redundant initialization of pointer 'p'
authorColin Ian King <colin.king@canonical.com>
Wed, 21 Feb 2018 18:13:40 +0000 (18:13 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 12 Mar 2018 23:05:45 +0000 (08:05 +0900)
commit8fe326cb996f89bac50cee2fdb4febfcca6eb297
treecdaaeb864d21596132e9acaafb880f318647a77a
parent46706d5917f4457a6befe7a39a15c89dbb1ce9ca
f2fs: remove redundant initialization of pointer 'p'

Pointer p is initialized with a value that is never read and is later
re-assigned a new value, hence the initialization is redundant and can
be removed.

Cleans up clang warning:
fs/f2fs/extent_cache.c:463:19: warning: Value stored to 'p' during
its initialization is never read

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/extent_cache.c