diff options
Diffstat (limited to 'drivers/net/arm/ether1.c')
-rw-r--r-- | drivers/net/arm/ether1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/arm/ether1.c b/drivers/net/arm/ether1.c index 3bb9e293e2ef..e380de454463 100644 --- a/drivers/net/arm/ether1.c +++ b/drivers/net/arm/ether1.c | |||
@@ -996,7 +996,6 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
996 | { | 996 | { |
997 | struct net_device *dev; | 997 | struct net_device *dev; |
998 | int i, ret = 0; | 998 | int i, ret = 0; |
999 | DECLARE_MAC_BUF(mac); | ||
1000 | 999 | ||
1001 | ether1_banner(); | 1000 | ether1_banner(); |
1002 | 1001 | ||
@@ -1044,8 +1043,8 @@ ether1_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
1044 | if (ret) | 1043 | if (ret) |
1045 | goto free; | 1044 | goto free; |
1046 | 1045 | ||
1047 | printk(KERN_INFO "%s: ether1 in slot %d, %s\n", | 1046 | printk(KERN_INFO "%s: ether1 in slot %d, %pM\n", |
1048 | dev->name, ec->slot_no, print_mac(mac, dev->dev_addr)); | 1047 | dev->name, ec->slot_no, dev->dev_addr); |
1049 | 1048 | ||
1050 | ecard_set_drvdata(ec, dev); | 1049 | ecard_set_drvdata(ec, dev); |
1051 | return 0; | 1050 | return 0; |