aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/arm/ep93xx_eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/arm/ep93xx_eth.c')
-rw-r--r--drivers/net/arm/ep93xx_eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arm/ep93xx_eth.c b/drivers/net/arm/ep93xx_eth.c
index 2fc8b2a1a023..90d77ec48fb6 100644
--- a/drivers/net/arm/ep93xx_eth.c
+++ b/drivers/net/arm/ep93xx_eth.c
@@ -334,7 +334,7 @@ static int ep93xx_xmit(struct sk_buff *skb, struct net_device *dev)
334 struct ep93xx_priv *ep = netdev_priv(dev); 334 struct ep93xx_priv *ep = netdev_priv(dev);
335 int entry; 335 int entry;
336 336
337 if (unlikely(skb->len) > MAX_PKT_SIZE) { 337 if (unlikely(skb->len > MAX_PKT_SIZE)) {
338 ep->stats.tx_dropped++; 338 ep->stats.tx_dropped++;
339 dev_kfree_skb(skb); 339 dev_kfree_skb(skb);
340 return NETDEV_TX_OK; 340 return NETDEV_TX_OK;