summaryrefslogtreecommitdiff
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorWen Zhiwei <wenzhiwei@kylinos.cn>2021-12-27 16:22:01 +0800
committerDavid S. Miller <davem@davemloft.net>2021-12-27 14:53:00 +0000
commitb4aadd207322d243c3ceef107c495117898a36f1 (patch)
treec115f7ffb3ff8539d82391143794161b6bb987c2 /drivers/net/fddi
parentfd3a459000557ff12c1d4b41f1bd30f439f6c942 (diff)
net:Remove initialization of static variables to 0
Delete the initialization of three static variables because it is meaningless. Signed-off-by: Wen Zhiwei <wenzhiwei@kylinos.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r--drivers/net/fddi/skfp/hwmtm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/fddi/skfp/hwmtm.c b/drivers/net/fddi/skfp/hwmtm.c
index 107039056511..145767d98445 100644
--- a/drivers/net/fddi/skfp/hwmtm.c
+++ b/drivers/net/fddi/skfp/hwmtm.c
@@ -38,10 +38,10 @@
-------------------------------------------------------------
*/
#ifdef COMMON_MB_POOL
-static SMbuf *mb_start = 0 ;
-static SMbuf *mb_free = 0 ;
+static SMbuf *mb_start;
+static SMbuf *mb_free;
static int mb_init = FALSE ;
-static int call_count = 0 ;
+static int call_count;
#endif
/*