[PATCH] powerpc/kvm: no need to initialise statics to 0

Michael Ellerman patch-notifications at ellerman.id.au
Fri Feb 18 13:09:49 AEDT 2022


On Mon, 20 Dec 2021 11:02:43 +0800, Jason Wang wrote:
> Static variables do not need to be initialised to 0, because compiler
> will initialise all uninitialised statics to 0. Thus, remove the
> unneeded initialization.
> 
> 

Applied to powerpc/topic/ppc-kvm.

[1/1] powerpc/kvm: no need to initialise statics to 0
      https://git.kernel.org/powerpc/c/8e0f353a44ff3d65d933b8c0e4fb15dc89d46617

cheers


More information about the Linuxppc-dev mailing list