]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: No need to initialise statics to 0
authorXiang wangx <wangxiang@cdjrlc.com>
Tue, 21 Dec 2021 03:34:23 +0000 (11:34 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 May 2022 09:37:45 +0000 (19:37 +1000)
commite69c5088f8fe001ce38f63308844447d84bc4ec6
treefa1c079c1daf5a1b2a3e1c867aead709f55f87e2
parent9f638b0c79129f9003711c11c2cec4dd04e91358
powerpc: 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 initializations.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211221033423.29820-1-wangxiang@cdjrlc.com
arch/powerpc/platforms/powermac/nvram.c