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

From
Michael Ellerman <hidden>
Date
2022-02-18 02:10:20
Also in
lkml
Reply to
Jason Wang, 2021-12-20
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
Thread (2 messages) 2 messages, 2 authors, last reply 2022-02-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help