Skip to content

Commit

Permalink
isdn: cpai: no need to initialise statics to 0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Wang authored and David S. Miller committed Dec 13, 2021
1 parent 97884b0 commit 2cd24a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/isdn/capi/kcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2cd24a2

Please sign in to comment.