]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
inet6: Remove redundant unlikely()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 9 Dec 2010 04:37:48 +0000 (04:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 22:57:34 +0000 (14:57 -0800)
IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c

index 54e8e42f7a88ad675aae5fb4782d6ce36d9a4ba9..059a3de647dbea19cdef6507aea7f607f9285de0 100644 (file)
@@ -810,7 +810,7 @@ static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, int features)
        }
        rcu_read_unlock();
 
-       if (unlikely(IS_ERR(segs)))
+       if (IS_ERR(segs))
                goto out;
 
        for (skb = segs; skb; skb = skb->next) {