linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] exec: Remove unnecessary ‘NULL’ values from vma
       [not found] <20240220051830.61099-1-zeming@nfschina.com>
@ 2024-02-24  1:04 ` Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2024-02-24  1:04 UTC (permalink / raw)
  To: Li zeming; +Cc: viro, brauner, ebiederm, linux-fsdevel, linux-mm, linux-kernel

On Tue, Feb 20, 2024 at 01:18:30PM +0800, Li zeming wrote:
> vma is assigned first, so it does not need to initialize the
> assignment.

I don't really like removing explicit initializations. They don't cause
any problems and the compiler will remove redundant stores, so there's
no benefit in dropping them.

-- 
Kees Cook


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-24  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240220051830.61099-1-zeming@nfschina.com>
2024-02-24  1:04 ` [PATCH] exec: Remove unnecessary ‘NULL’ values from vma Kees Cook

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