Delete the initialization of three static variables
because it is meaningless.
Signed-off-by: Wen Zhiwei <[email protected]>
---
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
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <[email protected]>:
On Mon, 27 Dec 2021 16:22:01 +0800 you wrote:
> Delete the initialization of three static variables
> because it is meaningless.
>
> Signed-off-by: Wen Zhiwei <[email protected]>
> ---
> drivers/net/fddi/skfp/hwmtm.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Here is the summary with links:
- net:Remove initialization of static variables to 0
https://git.kernel.org/netdev/net-next/c/b4aadd207322
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html