OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e51d67
)
inet6: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 04:37:48 +0000
(
04:37
+0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/ipv6/af_inet6.c
b/net/ipv6/af_inet6.c
index
54e8e42
..
059a3de
100644
(file)
--- 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) {