summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorWen Zhiwei <wenzhiwei@kylinos.cn>2021-12-27 09:22:01 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-27 15:53:00 +0100
commitb4aadd207322d243c3ceef107c495117898a36f1 (patch)
treec115f7ffb3ff8539d82391143794161b6bb987c2 /drivers/net/fddi
parentnet: bridge: Get SIOCGIFBR/SIOCSIFBR ioctl working in compat mode (diff)
downloadlinux-b4aadd207322d243c3ceef107c495117898a36f1.tar.xz
linux-b4aadd207322d243c3ceef107c495117898a36f1.zip
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
/*