Messages in this thread | | | Subject | Re: [f2fs-dev] [PATCH] f2fs: remove redundant initialization of pointer 'p' | From | Chao Yu <> | Date | Sun, 25 Feb 2018 23:17:37 +0800 |
| |
On 2018/2/22 2:13, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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>
Thanks,
| |