lkml.org 
[lkml]   [2022]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] seg6: Delete invalid code
Date
void function return statements are not generally useful

Signed-off-by: Hongbin Wang <wh_bin@126.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
\
 
 \ /
  Last update: 2022-09-29 11:58    [W:0.670 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site