Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e51d67e authored by Tobias Klauser's avatar Tobias Klauser Committed by David S. Miller
Browse files

stmmac: Remove redundant unlikely()



IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 040253c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {