net: convert print_mac to %pM
[deliverable/linux.git] / drivers / infiniband / hw / nes / nes.c
index a2b04d62b1a46d56efd056ad223ccdbc4e77abad..231ed708da6827da068c4babdec4e689deb76857 100644 (file)
@@ -356,10 +356,8 @@ struct ib_qp *nes_get_qp(struct ib_device *device, int qpn)
  */
 static void nes_print_macaddr(struct net_device *netdev)
 {
-       DECLARE_MAC_BUF(mac);
-
-       nes_debug(NES_DBG_INIT, "%s: %s, IRQ %u\n",
-                 netdev->name, print_mac(mac, netdev->dev_addr), netdev->irq);
+       nes_debug(NES_DBG_INIT, "%s: %pM, IRQ %u\n",
+                 netdev->name, netdev->dev_addr, netdev->irq);
 }
 
 /**
This page took 0.032394 seconds and 5 git commands to generate.