diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-15 11:21:41 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:19 -0400 |
commit | e91d83346ad9b30f44469c92b982206dcd7dcaf0 (patch) | |
tree | 31afd98edac6bf9b9b8fd8685ef2d7c89f044078 /drivers/net/wireless/wl12xx/wl1251_main.c | |
parent | 04dc882d601ec6fae5dfcb47c43f7af343e9a135 (diff) |
wireless: remove print_mac uses
Use %pM instead, and also remove stray variables
declared with DECLARE_MAC_BUF.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c index 106b0f265192..509cbef5e271 100644 --- a/drivers/net/wireless/wl12xx/wl1251_main.c +++ b/drivers/net/wireless/wl12xx/wl1251_main.c | |||
@@ -435,11 +435,10 @@ static int wl1251_op_add_interface(struct ieee80211_hw *hw, | |||
435 | struct ieee80211_if_init_conf *conf) | 435 | struct ieee80211_if_init_conf *conf) |
436 | { | 436 | { |
437 | struct wl1251 *wl = hw->priv; | 437 | struct wl1251 *wl = hw->priv; |
438 | DECLARE_MAC_BUF(mac); | ||
439 | int ret = 0; | 438 | int ret = 0; |
440 | 439 | ||
441 | wl1251_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %s", | 440 | wl1251_debug(DEBUG_MAC80211, "mac80211 add interface type %d mac %pM", |
442 | conf->type, print_mac(mac, conf->mac_addr)); | 441 | conf->type, conf->mac_addr); |
443 | 442 | ||
444 | mutex_lock(&wl->mutex); | 443 | mutex_lock(&wl->mutex); |
445 | 444 | ||