Re: [f2fs-dev] [PATCH] f2fs: remove redundant initialization of pointer 'p'
From: Chao Yu
Date: Sun Feb 25 2018 - 10:18:45 EST
On 2018/2/22 2:13, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,