diff options
Diffstat (limited to 'drivers/net/meth.c')
-rw-r--r-- | drivers/net/meth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/meth.c b/drivers/net/meth.c index a1e22ed1f6ee..621133b45f8f 100644 --- a/drivers/net/meth.c +++ b/drivers/net/meth.c | |||
@@ -94,10 +94,9 @@ char o2meth_eaddr[8]={0,0,0,0,0,0,0,0}; | |||
94 | static inline void load_eaddr(struct net_device *dev) | 94 | static inline void load_eaddr(struct net_device *dev) |
95 | { | 95 | { |
96 | int i; | 96 | int i; |
97 | DECLARE_MAC_BUF(mac); | ||
98 | u64 macaddr; | 97 | u64 macaddr; |
99 | 98 | ||
100 | DPRINTK("Loading MAC Address: %s\n", print_mac(mac, dev->dev_addr)); | 99 | DPRINTK("Loading MAC Address: %pM\n", dev->dev_addr); |
101 | macaddr = 0; | 100 | macaddr = 0; |
102 | for (i = 0; i < 6; i++) | 101 | for (i = 0; i < 6; i++) |
103 | macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); | 102 | macaddr |= (u64)dev->dev_addr[i] << ((5 - i) * 8); |