diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-12-08 23:37:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-10 17:57:34 -0500 |
commit | 376d940ee91318cc6becefbb9454bb4454d7473f (patch) | |
tree | 0ca04aa2733864d91b46af42d198a7663dd57514 | |
parent | 0e51d67ebb8e109a0990a13dafa937fb469aa3fb (diff) |
inet6: Remove redundant unlikely()
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>
-rw-r--r-- | net/ipv6/af_inet6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 54e8e42f7a88..059a3de647db 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c | |||
@@ -810,7 +810,7 @@ static struct sk_buff *ipv6_gso_segment(struct sk_buff *skb, int features) | |||
810 | } | 810 | } |
811 | rcu_read_unlock(); | 811 | rcu_read_unlock(); |
812 | 812 | ||
813 | if (unlikely(IS_ERR(segs))) | 813 | if (IS_ERR(segs)) |
814 | goto out; | 814 | goto out; |
815 | 815 | ||
816 | for (skb = segs; skb; skb = skb->next) { | 816 | for (skb = segs; skb; skb = skb->next) { |