aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r--drivers/net/niu.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index 9acb5d70a3ae..2c3bb36cda17 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -3139,8 +3139,6 @@ static int niu_process_rx_pkt(struct niu *np, struct rx_ring_info *rp)
3139 skb->protocol = eth_type_trans(skb, np->dev); 3139 skb->protocol = eth_type_trans(skb, np->dev);
3140 netif_receive_skb(skb); 3140 netif_receive_skb(skb);
3141 3141
3142 np->dev->last_rx = jiffies;
3143
3144 return num_rcr; 3142 return num_rcr;
3145} 3143}
3146 3144
@@ -8638,10 +8636,8 @@ static void __devinit niu_assign_netdev_ops(struct net_device *dev)
8638static void __devinit niu_device_announce(struct niu *np) 8636static void __devinit niu_device_announce(struct niu *np)
8639{ 8637{
8640 struct net_device *dev = np->dev; 8638 struct net_device *dev = np->dev;
8641 DECLARE_MAC_BUF(mac);
8642 8639
8643 pr_info("%s: NIU Ethernet %s\n", 8640 pr_info("%s: NIU Ethernet %pM\n", dev->name, dev->dev_addr);
8644 dev->name, print_mac(mac, dev->dev_addr));
8645 8641
8646 if (np->parent->plat_type == PLAT_TYPE_ATCA_CP3220) { 8642 if (np->parent->plat_type == PLAT_TYPE_ATCA_CP3220) {
8647 pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n", 8643 pr_info("%s: Port type[%s] mode[%s:%s] XCVR[%s] phy[%s]\n",