]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/netfilter/ip6t_REJECT.c
[NETFILTER]: Remove redundant parentheses/braces
[net-next-2.6.git] / net / ipv6 / netfilter / ip6t_REJECT.c
index 4df07f0adf1d2e54dc09497eda08ff4c9412d62d..0fa1f2cf9fba5664b2882ec0159f44ffda0936cb 100644 (file)
@@ -69,7 +69,7 @@ static void send_reset(struct sk_buff *oldskb)
        otcplen = oldskb->len - tcphoff;
 
        /* IP header checks: fragment, too short. */
-       if ((proto != IPPROTO_TCP) || (otcplen < sizeof(struct tcphdr))) {
+       if (proto != IPPROTO_TCP || otcplen < sizeof(struct tcphdr)) {
                DEBUGP("ip6t_REJECT: proto(%d) != IPPROTO_TCP, or too short. otcplen = %d\n",
                        proto, otcplen);
                return;