aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-08 23:50:22 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-10 17:57:34 -0500
commit0e51d67ebb8e109a0990a13dafa937fb469aa3fb (patch)
treeb3d34c5d505a3c6f5b447c7bbe8fd5ee185fbb0d /drivers/net/stmmac
parent040253c931e336360453c8d81f76d1b010b2b5e7 (diff)
stmmac: 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 'drivers/net/stmmac')
-rw-r--r--drivers/net/stmmac/stmmac_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c
index c0dc78571c62..20f803df8681 100644
--- 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)
949 skb, skb->len); 949 skb, skb->len);
950 950
951 segs = skb_gso_segment(skb, priv->dev->features & ~NETIF_F_TSO); 951 segs = skb_gso_segment(skb, priv->dev->features & ~NETIF_F_TSO);
952 if (unlikely(IS_ERR(segs))) 952 if (IS_ERR(segs))
953 goto sw_tso_end; 953 goto sw_tso_end;
954 954
955 do { 955 do {