Re: [PATCH net-next 3/6] ipv6: netfilter: remove unnecessary braces

2015-04-25 Thread Joe Perches
On Sat, 2015-04-25 at 19:54 +0300, Sergei Shtylyov wrote: > Parens around the *return* expression are not necessary. :-) Yeah, what Sergei said... -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH net-next 3/6] ipv6: netfilter: remove unnecessary braces

2015-04-25 Thread Sergei Shtylyov
Hello. On 04/25/2015 06:59 PM, Joe Perches wrote: Remove braces from a few if statements where not required. trivia: diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c [] @@ -151,9 +151,8 @@ ip6_packet_match(const struct sk_buff *skb,

Re: [PATCH net-next 3/6] ipv6: netfilter: remove unnecessary braces

2015-04-25 Thread Joe Perches
On Sat, 2015-04-25 at 10:26 +0100, Ian Morris wrote: > Remove braces from a few if statements where not required. trivia: > diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c [] > @@ -151,9 +151,8 @@ ip6_packet_match(const struct sk_buff *skb, >

[PATCH net-next 3/6] ipv6: netfilter: remove unnecessary braces

2015-04-25 Thread Ian Morris
Remove braces from a few if statements where not required. No changes detected by objdiff. Signed-off-by: Ian Morris --- net/ipv6/netfilter/ip6_tables.c | 3 +-- net/ipv6/netfilter/nf_conntrack_reasm.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/net/ipv6/net