lkml.org 
[lkml]   [2018]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [f2fs-dev] [PATCH] f2fs: remove redundant initialization of pointer 'p'
From
Date
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,

\
 
 \ /
  Last update: 2018-02-25 16:19    [W:0.035 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site