summaryrefslogtreecommitdiff
path: root/drivers/isdn
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-12-12 15:12:04 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-13 14:05:00 +0000
commit2cd24a2e8d8c47e5f6544bb3da3199c6b683e01f (patch)
treea1cfeb816e55f19b1eab018f81fdbdc63c525fff /drivers/isdn
parent97884b07122aabb2d6891ce17f54e0e8e94d0bc5 (diff)
isdn: cpai: no need to initialise statics to 0
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/capi/kcapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/capi/kcapi.c b/drivers/isdn/capi/kcapi.c
index 7313454e403a..e69c4bf557bf 100644
--- a/drivers/isdn/capi/kcapi.c
+++ b/drivers/isdn/capi/kcapi.c
@@ -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);