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

2022-02-17 Thread Michael Ellerman
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 initial

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

2021-12-19 Thread Jason Wang
Static variables do not need to be initialised to 0, because compiler will initialise all uninitialised statics to 0. Thus, remove the unneeded initialization. Signed-off-by: Jason Wang --- arch/powerpc/kvm/book3s_64_mmu_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/