summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-09 05:37:48 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-10 23:57:34 +0100
commit376d940ee91318cc6becefbb9454bb4454d7473f (patch)
tree0ca04aa2733864d91b46af42d198a7663dd57514 /net/ipv6
parentstmmac: Remove redundant unlikely() (diff)
downloadlinux-376d940ee91318cc6becefbb9454bb4454d7473f.tar.xz
linux-376d940ee91318cc6becefbb9454bb4454d7473f.zip
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/af_inet6.c2
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)
}
rcu_read_unlock();
- if (unlikely(IS_ERR(segs)))
+ if (IS_ERR(segs))
goto out;
for (skb = segs; skb; skb = skb->next) {