Skip to content

Commit

Permalink
inet6: Remove redundant unlikely()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
tklauser authored and davem330 committed Dec 10, 2010
1 parent 0e51d67 commit 376d940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 376d940

Please sign in to comment.