mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH REPOST] f2fs: file: drop useless initializer in expand_inode_data()
@ 2022-12-21  3:30 Yangtao Li
  2022-12-21 12:34 ` Chao Yu
  2022-12-21 14:46 ` Sergey Shtylyov
  0 siblings, 2 replies; 5+ messages in thread
From: Yangtao Li @ 2022-12-21  3:30 UTC (permalink / raw)
  To: jaegeuk, chao, s.shtylyov; +Cc: linux-f2fs-devel, linux-kernel

Hi Sergey,

> 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@omp.ru>
> 
> ---
> This patch is against the 'dev' branch of Jaegeuk Kim's F2FS repo...
> Reposting with ISP RAS mailing lists CC'ed now...

Why do you repeatedly send a patch that cannot be applied, and this does not have
a CC on linux-kernel.vger.kernel.org.

Otherwise, code modification looks good to me.

Thx,
Yangtao

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-21 14:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-21  3:30 [PATCH REPOST] f2fs: file: drop useless initializer in expand_inode_data() Yangtao Li
2022-12-21 12:34 ` Chao Yu
2022-12-21 14:55   ` Sergey Shtylyov
2022-12-21 14:46 ` Sergey Shtylyov
2022-12-21 14:50   ` Sergey Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®