[PATCH] net:ipv6:Remove unneeded semicolon

From: cgel . zte
Date: Wed Nov 03 2021 - 02:46:29 EST


From: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>

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

Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
Signed-off-by: Zhang Mingyu <zhang.mingyu@xxxxxxxxxx>
---
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