[PATCH net-next 5/8] net: pc300too: remove redundant initialization for statics

From: Guangbin Huang
Date: Thu Jun 10 2021 - 23:39:43 EST


From: Peng Li <lipeng321@xxxxxxxxxx>

Should not initialise statics to 0.

Signed-off-by: Peng Li <lipeng321@xxxxxxxxxx>
---
drivers/net/wan/pc300too.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c
index 7d8eae5..56f7d96 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 */
--
2.8.1