diff options
Diffstat (limited to 'drivers/net/tulip/xircom_cb.c')
-rw-r--r-- | drivers/net/tulip/xircom_cb.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c index de8c92083e92..70befe33e454 100644 --- a/drivers/net/tulip/xircom_cb.c +++ b/drivers/net/tulip/xircom_cb.c | |||
@@ -1074,6 +1074,7 @@ static void read_mac_address(struct xircom_private *card) | |||
1074 | unsigned char j, tuple, link, data_id, data_count; | 1074 | unsigned char j, tuple, link, data_id, data_count; |
1075 | unsigned long flags; | 1075 | unsigned long flags; |
1076 | int i; | 1076 | int i; |
1077 | DECLARE_MAC_BUF(mac); | ||
1077 | 1078 | ||
1078 | enter("read_mac_address"); | 1079 | enter("read_mac_address"); |
1079 | 1080 | ||
@@ -1103,11 +1104,7 @@ static void read_mac_address(struct xircom_private *card) | |||
1103 | } | 1104 | } |
1104 | } | 1105 | } |
1105 | spin_unlock_irqrestore(&card->lock, flags); | 1106 | spin_unlock_irqrestore(&card->lock, flags); |
1106 | #ifdef DEBUG | 1107 | pr_debug(" %s\n", print_mac(mac, card->dev->dev_addr)); |
1107 | for (i = 0; i < 6; i++) | ||
1108 | printk("%c%2.2X", i ? ':' : ' ', card->dev->dev_addr[i]); | ||
1109 | printk("\n"); | ||
1110 | #endif | ||
1111 | leave("read_mac_address"); | 1108 | leave("read_mac_address"); |
1112 | } | 1109 | } |
1113 | 1110 | ||