Thread (8 messages) 8 messages, 2 authors, 2026-03-29
STALE82d

[PATCH 2/5] hamradio: mkiss: remove redundant static initialization to 0

From: Mashiro Chen <hidden>
Date: 2026-03-29 14:35:05
Also in: linux-hams, lkml
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Static variables are automatically initialized to 0 by the
compiler.
Remove the explicit initialization to comply with the Linux
Kernel coding standards.

Signed-off-by: Mashiro Chen <redacted>
---
 drivers/net/hamradio/mkiss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c
index eac45d936..3721572ce 100644
--- a/drivers/net/hamradio/mkiss.c
+++ b/drivers/net/hamradio/mkiss.c
@@ -686,7 +686,7 @@ static void mkiss_put(struct mkiss *ax)
 		complete(&ax->dead);
 }
 
-static int crc_force = 0;	/* Can be overridden with insmod */
+static int crc_force;	/* Can be overridden with insmod */
 
 static int mkiss_open(struct tty_struct *tty)
 {
-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help