mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 08:43:31 +00:00
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>
This commit is contained in:
parent
040253c931
commit
0e51d67ebb
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue