2021-06-11 03:41:51

by Guangbin Huang

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

From: Peng Li <[email protected]>

Should not initialise statics to 0.

Signed-off-by: Peng Li <[email protected]>
---
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