[PATCH] net:ipv6:Remove unneeded semicolon

Subsystems: networking [general], networking [srv6], the rest

STALE1739d

2 messages, 2 authors, 2021-11-03 · open the first message on its own page

[PATCH] net:ipv6:Remove unneeded semicolon

From: <hidden>
Date: 2021-11-03 06:46:30

From: Zhang Mingyu <redacted>

Eliminate the following coccinelle check warning:
net/ipv6/seg6.c:381:2-3

Reported-by: Zeal Robot <redacted>
Signed-off-by: Zhang Mingyu <redacted>
---
 net/ipv6/seg6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ipv6/seg6.c b/net/ipv6/seg6.c
index 5daa1c3ed83b..a8b5784afb1a 100644
--- a/net/ipv6/seg6.c
+++ b/net/ipv6/seg6.c
@@ -378,7 +378,7 @@ static int __net_init seg6_net_init(struct net *net)
 		kfree(rcu_dereference_raw(sdata->tun_src));
 		kfree(sdata);
 		return -ENOMEM;
-	};
+	}
 #endif
 
 	return 0;
-- 
2.25.1

Re: [PATCH] net:ipv6:Remove unneeded semicolon

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-03 14:10:40

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Wed,  3 Nov 2021 06:46:17 +0000 you wrote:
From: Zhang Mingyu <redacted>

Eliminate the following coccinelle check warning:
net/ipv6/seg6.c:381:2-3

Reported-by: Zeal Robot <redacted>
Signed-off-by: Zhang Mingyu <redacted>

[...]
Here is the summary with links:
  - net:ipv6:Remove unneeded semicolon
    https://git.kernel.org/netdev/net/c/acaea0d5a634

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help