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

Mashiro Chen posted 5 patches 3 days, 20 hours ago
[PATCH 2/5] hamradio: mkiss: remove redundant static initialization to 0
Posted by Mashiro Chen 3 days, 20 hours ago
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 <mashiro.chen@mailbox.org>
---
 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