[PATCH] s390: Remove the initialization of statics to 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No need to initialise statics to 0 or NULL, compiler will do that.

Signed-off-by: Shaomin Deng <dengshaomin@xxxxxxxxxx>
---
 arch/s390/kernel/nmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/s390/kernel/nmi.c b/arch/s390/kernel/nmi.c
index 53ed3884fe64..c809c32210c7 100644
--- a/arch/s390/kernel/nmi.c
+++ b/arch/s390/kernel/nmi.c
@@ -152,7 +152,7 @@ void __s390_handle_mcck(void)
 	 * Though one suffices, we may get one interrupt per (virtual) cpu.
 	 */
 	if (mcck.warning) {	/* WARNING pending ? */
-		static int mchchk_wng_posted = 0;
+		static int mchchk_wng_posted;
 
 		/* Use single cpu clear, as we cannot handle smp here. */
 		__ctl_clear_bit(14, 24);	/* Disable WARNING MCH */
-- 
2.35.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux