diff options
Diffstat (limited to 'drivers/net/seeq8005.c')
-rw-r--r-- | drivers/net/seeq8005.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/seeq8005.c b/drivers/net/seeq8005.c index 48c64fb20eec..2fbc8f1e8b48 100644 --- a/drivers/net/seeq8005.c +++ b/drivers/net/seeq8005.c | |||
@@ -158,7 +158,6 @@ static int __init seeq8005_probe1(struct net_device *dev, int ioaddr) | |||
158 | int old_dmaar; | 158 | int old_dmaar; |
159 | int old_rear; | 159 | int old_rear; |
160 | int retval; | 160 | int retval; |
161 | DECLARE_MAC_BUF(mac); | ||
162 | 161 | ||
163 | if (!request_region(ioaddr, SEEQ8005_IO_EXTENT, "seeq8005")) | 162 | if (!request_region(ioaddr, SEEQ8005_IO_EXTENT, "seeq8005")) |
164 | return -ENODEV; | 163 | return -ENODEV; |
@@ -303,7 +302,7 @@ static int __init seeq8005_probe1(struct net_device *dev, int ioaddr) | |||
303 | /* Retrieve and print the ethernet address. */ | 302 | /* Retrieve and print the ethernet address. */ |
304 | for (i = 0; i < 6; i++) | 303 | for (i = 0; i < 6; i++) |
305 | dev->dev_addr[i] = SA_prom[i+6]; | 304 | dev->dev_addr[i] = SA_prom[i+6]; |
306 | printk("%s", print_mac(mac, dev->dev_addr)); | 305 | printk("%pM", dev->dev_addr); |
307 | 306 | ||
308 | if (dev->irq == 0xff) | 307 | if (dev->irq == 0xff) |
309 | ; /* Do nothing: a user-level program will set it. */ | 308 | ; /* Do nothing: a user-level program will set it. */ |
@@ -564,7 +563,6 @@ static void seeq8005_rx(struct net_device *dev) | |||
564 | 563 | ||
565 | skb->protocol=eth_type_trans(skb,dev); | 564 | skb->protocol=eth_type_trans(skb,dev); |
566 | netif_rx(skb); | 565 | netif_rx(skb); |
567 | dev->last_rx = jiffies; | ||
568 | dev->stats.rx_packets++; | 566 | dev->stats.rx_packets++; |
569 | dev->stats.rx_bytes += pkt_len; | 567 | dev->stats.rx_bytes += pkt_len; |
570 | } | 568 | } |