diff options
Diffstat (limited to 'drivers/net/hamachi.c')
-rw-r--r-- | drivers/net/hamachi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/hamachi.c b/drivers/net/hamachi.c index 3199526bcecb..77f2b2934e67 100644 --- a/drivers/net/hamachi.c +++ b/drivers/net/hamachi.c | |||
@@ -582,7 +582,6 @@ static int __devinit hamachi_init_one (struct pci_dev *pdev, | |||
582 | void *ring_space; | 582 | void *ring_space; |
583 | dma_addr_t ring_dma; | 583 | dma_addr_t ring_dma; |
584 | int ret = -ENOMEM; | 584 | int ret = -ENOMEM; |
585 | DECLARE_MAC_BUF(mac); | ||
586 | 585 | ||
587 | /* when built into the kernel, we only print version if device is found */ | 586 | /* when built into the kernel, we only print version if device is found */ |
588 | #ifndef MODULE | 587 | #ifndef MODULE |
@@ -744,9 +743,9 @@ static int __devinit hamachi_init_one (struct pci_dev *pdev, | |||
744 | goto err_out_unmap_rx; | 743 | goto err_out_unmap_rx; |
745 | } | 744 | } |
746 | 745 | ||
747 | printk(KERN_INFO "%s: %s type %x at %p, %s, IRQ %d.\n", | 746 | printk(KERN_INFO "%s: %s type %x at %p, %pM, IRQ %d.\n", |
748 | dev->name, chip_tbl[chip_id].name, readl(ioaddr + ChipRev), | 747 | dev->name, chip_tbl[chip_id].name, readl(ioaddr + ChipRev), |
749 | ioaddr, print_mac(mac, dev->dev_addr), irq); | 748 | ioaddr, dev->dev_addr, irq); |
750 | i = readb(ioaddr + PCIClkMeas); | 749 | i = readb(ioaddr + PCIClkMeas); |
751 | printk(KERN_INFO "%s: %d-bit %d Mhz PCI bus (%d), Virtual Jumpers " | 750 | printk(KERN_INFO "%s: %d-bit %d Mhz PCI bus (%d), Virtual Jumpers " |
752 | "%2.2x, LPA %4.4x.\n", | 751 | "%2.2x, LPA %4.4x.\n", |
@@ -1646,7 +1645,6 @@ static int hamachi_rx(struct net_device *dev) | |||
1646 | #endif /* RX_CHECKSUM */ | 1645 | #endif /* RX_CHECKSUM */ |
1647 | 1646 | ||
1648 | netif_rx(skb); | 1647 | netif_rx(skb); |
1649 | dev->last_rx = jiffies; | ||
1650 | hmp->stats.rx_packets++; | 1648 | hmp->stats.rx_packets++; |
1651 | } | 1649 | } |
1652 | entry = (++hmp->cur_rx) % RX_RING_SIZE; | 1650 | entry = (++hmp->cur_rx) % RX_RING_SIZE; |