commit | 376d940ee91318cc6becefbb9454bb4454d7473f | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Dec 09 04:37:48 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 10 14:57:34 2010 -0800 |
tree | 0ca04aa2733864d91b46af42d198a7663dd57514 | |
parent | 0e51d67ebb8e109a0990a13dafa937fb469aa3fb [diff] [blame] |
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>
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c index 54e8e42..059a3de 100644 --- a/net/ipv6/af_inet6.c +++ b/net/ipv6/af_inet6.c
@@ -810,7 +810,7 @@ } rcu_read_unlock(); - if (unlikely(IS_ERR(segs))) + if (IS_ERR(segs)) goto out; for (skb = segs; skb; skb = skb->next) {