diff options
author | zhuyj <zyjzyj2000@gmail.com> | 2015-01-14 04:23:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-14 16:35:49 -0500 |
commit | 9a6b4b392de4569e83ecfd6f382f3369f250b52f (patch) | |
tree | 145ad729c4b2a167581062dad0839c3b236ff8c4 /net | |
parent | 3f4c1d87af2a0c8a599b95bfebbc6338de343aca (diff) |
ipv6:icmp:remove unnecessary brackets
There are too many brackets. Maybe only one bracket is enough.
Signed-off-by: Zhu Yanjun <Yanjun.Zhu@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index d674152b6ede..a5e95199585e 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
@@ -427,7 +427,7 @@ static void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) | |||
427 | * Dest addr check | 427 | * Dest addr check |
428 | */ | 428 | */ |
429 | 429 | ||
430 | if ((addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST)) { | 430 | if (addr_type & IPV6_ADDR_MULTICAST || skb->pkt_type != PACKET_HOST) { |
431 | if (type != ICMPV6_PKT_TOOBIG && | 431 | if (type != ICMPV6_PKT_TOOBIG && |
432 | !(type == ICMPV6_PARAMPROB && | 432 | !(type == ICMPV6_PARAMPROB && |
433 | code == ICMPV6_UNK_OPTION && | 433 | code == ICMPV6_UNK_OPTION && |