Skip to contentSkip to conversation

seg6: Delete invalid code

PATCH In review Hongbin Wang 2 participants 2 messages Sep 29, 2022 – Sep 30, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 seg6: Delete invalid code

void function return statements are not generally useful

---
 net/ipv6/seg6_local.c | 2 --
 1 file changed, 2 deletions(-)
net/ipv6/seg6_local.c +0 -2
index b7de5e46fdd8..a799ac83df3a 100644
@@ -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,
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 1 line · On Thu, 29 Sep 2022 05:56:49 -0400 Hongbin Wang wrote:

void function return statements are not generally useful

I don't think this is worth applying, sorry.