projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3a459
)
net:Remove initialization of static variables to 0
author
Wen Zhiwei
<wenzhiwei@kylinos.cn>
Mon, 27 Dec 2021 08:22:01 +0000
(16:22 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 27 Dec 2021 14:53:00 +0000
(14:53 +0000)
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>
drivers/net/fddi/skfp/hwmtm.c
patch
|
blob
|
history
diff --git
a/drivers/net/fddi/skfp/hwmtm.c
b/drivers/net/fddi/skfp/hwmtm.c
index 1070390565114738485741fba8b71b8959716e3c..145767d98445c291ba49398379908d708cec3e0b 100644
(file)
--- 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
/*