mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] m68k:do not initialise statics to 0.
@ 2022-07-18 10:55 Xin Gao
  2023-01-22 16:33 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: Xin Gao @ 2022-07-18 10:55 UTC (permalink / raw)
  To: geert; +Cc: linux-m68k, linux-kernel, Xin Gao

Delete static variables initialized to 0.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
---
 arch/m68k/q40/q40ints.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index 6886a5d0007b..dfb307ba1185 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -201,8 +201,8 @@ static int ccleirq=60;    /* ISA dev IRQs*/
 #define DEBUG_Q40INT
 /*#define IP_USE_DISABLE *//* would be nice, but crashes ???? */
 
-static int mext_disabled=0;  /* ext irq disabled by master chip? */
-static int aliased_irq=0;  /* how many times inside handler ?*/
+static int mext_disabled;  /* ext irq disabled by master chip? */
+static int aliased_irq;  /* how many times inside handler ?*/
 
 
 /* got interrupt, dispatch to ISA or keyboard/timer IRQs */
-- 
2.30.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-22 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-18 10:55 [PATCH] m68k:do not initialise statics to 0 Xin Gao
2023-01-22 16:33 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®