net: convert print_mac to %pM
[safe/jmp/linux-2.6] / drivers / net / cris / eth_v10.c
index 65d0a91..486fa21 100644 (file)
@@ -419,7 +419,6 @@ e100_set_mac_address(struct net_device *dev, void *p)
 {
        struct net_local *np = netdev_priv(dev);
        struct sockaddr *addr = p;
-       DECLARE_MAC_BUF(mac);
 
        spin_lock(&np->lock); /* preemption protection */
 
@@ -440,8 +439,7 @@ e100_set_mac_address(struct net_device *dev, void *p)
 
        /* show it in the log as well */
 
-       printk(KERN_INFO "%s: changed MAC to %s\n",
-              dev->name, print_mac(mac, dev->dev_addr));
+       printk(KERN_INFO "%s: changed MAC to %pM\n", dev->name, dev->dev_addr);
 
        spin_unlock(&np->lock);