aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mlx4/en_tx.c')
-rw-r--r--drivers/net/mlx4/en_tx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/mlx4/en_tx.c b/drivers/net/mlx4/en_tx.c
index 99a6a36dc27b..08c43f2ae72b 100644
--- a/drivers/net/mlx4/en_tx.c
+++ b/drivers/net/mlx4/en_tx.c
@@ -518,11 +518,6 @@ static int get_real_size(struct sk_buff *skb, struct net_device *dev,
518 return 0; 518 return 0;
519 } 519 }
520 } 520 }
521 if (unlikely(*lso_header_size > MAX_LSO_HDR_SIZE)) {
522 if (netif_msg_tx_err(priv))
523 en_warn(priv, "LSO header size too big\n");
524 return 0;
525 }
526 } else { 521 } else {
527 *lso_header_size = 0; 522 *lso_header_size = 0;
528 if (!is_inline(skb, NULL)) 523 if (!is_inline(skb, NULL))