aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/smsc/smc9194.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/smsc/smc9194.c')
-rw-r--r--drivers/net/ethernet/smsc/smc9194.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/smsc/smc9194.c b/drivers/net/ethernet/smsc/smc9194.c
index 50823da9dc1e..e85c2e7e8246 100644
--- a/drivers/net/ethernet/smsc/smc9194.c
+++ b/drivers/net/ethernet/smsc/smc9194.c
@@ -1223,9 +1223,7 @@ static void smc_rcv(struct net_device *dev)
1223 dev->stats.multicast++; 1223 dev->stats.multicast++;
1224 1224
1225 skb = netdev_alloc_skb(dev, packet_length + 5); 1225 skb = netdev_alloc_skb(dev, packet_length + 5);
1226
1227 if ( skb == NULL ) { 1226 if ( skb == NULL ) {
1228 printk(KERN_NOTICE CARDNAME ": Low memory, packet dropped.\n");
1229 dev->stats.rx_dropped++; 1227 dev->stats.rx_dropped++;
1230 goto done; 1228 goto done;
1231 } 1229 }