isdn: cpai: no need to initialise statics to 0
authorJason Wang <wangborong@cdjrlc.com>
Sun, 12 Dec 2021 07:12:04 +0000 (15:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2021 14:05:00 +0000 (14:05 +0000)
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: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/kcapi.c

index 7313454e403a630d64196a07bfc805891753f00f..e69c4bf557bf8c2647ddbee2bfd62978c131238d 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/mutex.h>
 #include <linux/rcupdate.h>
 
-static int showcapimsgs = 0;
+static int showcapimsgs;
 static struct workqueue_struct *kcapi_wq;
 
 module_param(showcapimsgs, uint, 0);