* 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