aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/pc300too.c
diff options
context:
space:
mode:
authorPeng Li <lipeng321@huawei.com>2021-06-11 11:36:19 +0800
committerDavid S. Miller <davem@davemloft.net>2021-06-11 12:58:12 -0700
commitae6440483b545176b888bfe74971aa40a5749d46 (patch)
tree99010b176bde82880d3d489323e5466e1fcea0fd /drivers/net/wan/pc300too.c
parentnet: pc300too: move out assignment in if condition (diff)
downloadlinux-dev-ae6440483b545176b888bfe74971aa40a5749d46.tar.xz
linux-dev-ae6440483b545176b888bfe74971aa40a5749d46.zip
net: pc300too: remove redundant initialization for statics
Should not initialise statics to 0. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/pc300too.c')
-rw-r--r--drivers/net/wan/pc300too.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c
index 7d8eae5ea140..56f7d96298a3 100644
--- a/drivers/net/wan/pc300too.c
+++ b/drivers/net/wan/pc300too.c
@@ -44,7 +44,7 @@
#define MAX_TX_BUFFERS 10
static int pci_clock_freq = 33000000;
-static int use_crystal_clock = 0;
+static int use_crystal_clock;
static unsigned int CLOCK_BASE;
/* Masks to access the init_ctrl PLX register */