aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/a2065.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/a2065.c')
-rw-r--r--drivers/net/a2065.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/a2065.c b/drivers/net/a2065.c
index 79bb56b8dcef..71165ac0257a 100644
--- a/drivers/net/a2065.c
+++ b/drivers/net/a2065.c
@@ -573,8 +573,7 @@ static int lance_start_xmit (struct sk_buff *skb, struct net_device *dev)
573 573
574 if (len < ETH_ZLEN) { 574 if (len < ETH_ZLEN) {
575 len = ETH_ZLEN; 575 len = ETH_ZLEN;
576 skb = skb_padto(skb, ETH_ZLEN); 576 if (skb_padto(skb, ETH_ZLEN))
577 if (skb == NULL)
578 return 0; 577 return 0;
579 } 578 }
580 579