projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040253c
)
stmmac: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 04:50:22 +0000
(
04:50
+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>
drivers/net/stmmac/stmmac_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/stmmac/stmmac_main.c
b/drivers/net/stmmac/stmmac_main.c
index c0dc78571c628f8b8ecb0afd8f175eeb679dddba..20f803df8681e006ff61e8fd38935deb1e5e1407 100644
(file)
--- a/
drivers/net/stmmac/stmmac_main.c
+++ b/
drivers/net/stmmac/stmmac_main.c
@@
-949,7
+949,7
@@
static int stmmac_sw_tso(struct stmmac_priv *priv, struct sk_buff *skb)
skb, skb->len);
segs = skb_gso_segment(skb, priv->dev->features & ~NETIF_F_TSO);
- if (
unlikely(IS_ERR(segs)
))
+ if (
IS_ERR(segs
))
goto sw_tso_end;
do {