[PATCH net-next 6/6] ipv6: netfilter: simply if-else statements

2015-04-25 Thread Ian Morris
Remove else branch of if statements where a return is always done when the condition is true. No changes detected by objdiff. Signed-off-by: Ian Morris i...@chirality.org.uk --- net/ipv6/netfilter/ip6_tables.c| 7 +- net/ipv6/netfilter/ip6t_hbh.c | 105

Re: [PATCH net-next 6/6] ipv6: netfilter: simply if-else statements

2015-04-25 Thread Joe Perches
On Sat, 2015-04-25 at 10:27 +0100, Ian Morris wrote: Remove else branch of if statements where a return is always done when the condition is true. trivia: diff --git a/net/ipv6/netfilter/ip6t_hbh.c b/net/ipv6/netfilter/ip6t_hbh.c [] @@ -95,70 +95,67 @@ hbh_mt6(const struct sk_buff *skb,