]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm: no need to initialise statics to 0
authorJason Wang <wangborong@cdjrlc.com>
Mon, 20 Dec 2021 03:02:43 +0000 (11:02 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Feb 2022 09:31:25 +0000 (20:31 +1100)
commit03babf6ef685816441c43014714dd1b5dad94f2b
treebb45e4b53694aed6c43ce5162b3086c48397e4e4
parentbef337f2830859435852a63c8d527c0c13a653d5
powerpc/kvm: no need to initialise statics to 0

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 <wangborong@cdjrlc.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211220030243.603435-1-wangborong@cdjrlc.com
arch/powerpc/kvm/book3s_64_mmu_host.c