Re: [PATCH] rpl_iptunnel: simplify the return expression of rpl_do_srh()

2020-08-18 Thread David Miller
From: Xu Wang Date: Tue, 18 Aug 2020 08:54:54 + > @@ -197,11 +197,7 @@ static int rpl_do_srh(struct sk_buff *skb, const struct > rpl_lwt *rlwt) > > tinfo = rpl_encap_lwtunnel(dst->lwtstate); > > - err = rpl_do_srh_inline(skb, rlwt, tinfo->srh); > - if (err) > -

[PATCH] rpl_iptunnel: simplify the return expression of rpl_do_srh()

2020-08-18 Thread Xu Wang
Simplify the return expression. Signed-off-by: Xu Wang --- net/ipv6/rpl_iptunnel.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/ipv6/rpl_iptunnel.c b/net/ipv6/rpl_iptunnel.c index 5fdf3ebb953f..e58ad9ac987c 100644 --- a/net/ipv6/rpl_iptunnel.c +++