]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/3c515.c
bnx2x: convert to net_device_ops
[karo-tx-linux.git] / drivers / net / 3c515.c
index a2c24684a44ac39da7966f248006d700d1445d21..7f995008a45cd7469d867beeafb1a70c3e802489 100644 (file)
@@ -1301,7 +1301,6 @@ static int corkscrew_rx(struct net_device *dev)
                                outw(RxDiscard, ioaddr + EL3_CMD);      /* Pop top Rx packet. */
                                skb->protocol = eth_type_trans(skb, dev);
                                netif_rx(skb);
-                               dev->last_rx = jiffies;
                                dev->stats.rx_packets++;
                                dev->stats.rx_bytes += pkt_len;
                                /* Wait a limited time to go to next packet. */
@@ -1388,7 +1387,6 @@ static int boomerang_rx(struct net_device *dev)
                        }
                        skb->protocol = eth_type_trans(skb, dev);
                        netif_rx(skb);
-                       dev->last_rx = jiffies;
                        dev->stats.rx_packets++;
                }
                entry = (++vp->cur_rx) % RX_RING_SIZE;