[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220929095649.2764540-1-wh_bin@126.com>
Date: Thu, 29 Sep 2022 05:56:49 -0400
From: Hongbin Wang <wh_bin@....com>
To: davem@...emloft.net
Cc: yoshfuji@...ux-ipv6.org, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bpf@...r.kernel.org
Subject: [PATCH] seg6: Delete invalid code
void function return statements are not generally useful
Signed-off-by: Hongbin Wang <wh_bin@....com>
---
net/ipv6/seg6_local.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ipv6/seg6_local.c b/net/ipv6/seg6_local.c
index b7de5e46fdd8..a799ac83df3a 100644
--- a/net/ipv6/seg6_local.c
+++ b/net/ipv6/seg6_local.c
@@ -1830,8 +1830,6 @@ static void seg6_local_destroy_state(struct lwtunnel_state *lwt)
seg6_local_lwtunnel_destroy_state(slwt);
destroy_attrs(slwt);
-
- return;
}
static int seg6_local_fill_encap(struct sk_buff *skb,
--
2.25.1
Powered by blists - more mailing lists