Messages in this thread Patch in this message | | | From | Wen Zhiwei <> | Subject | [PATCH] net:Remove initialization of static variables to 0 | Date | Mon, 27 Dec 2021 16:22:01 +0800 |
| |
Delete the initialization of three static variables because it is meaningless.
Signed-off-by: Wen Zhiwei <wenzhiwei@kylinos.cn> --- drivers/net/fddi/skfp/hwmtm.c | 6 +++--- 1 file 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 /* -- 2.30.0
| |