[lvc-project] [PATCH REPOST] f2fs: file: drop useless initializer in expand_inode_data()
    Chao Yu 
    chao at kernel.org
       
    Wed Dec 21 15:22:47 MSK 2022
    
    
  
On 2022/12/21 1:17, Sergey Shtylyov wrote:
> In expand_inode_data(), the 'new_size' local variable is initialized to
> the result of i_size_read(), however this value isn't ever used,  so we
> can drop this initializer...
> 
> Found by Linux Verification Center (linuxtesting.org) with the SVACE static
> analysis tool.
> 
> Signed-off-by: Sergey Shtylyov <s.shtylyov at omp.ru>
Reviewed-by: Chao Yu <chao at kernel.org>
Thanks,
    
    
More information about the lvc-project
mailing list