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/mac80211_hwsim.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/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 78431abc8b40..930f5c7da4a6 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -837,7 +837,6 @@ static void hwsim_send_ps_poll(void *dat, u8 *mac, struct ieee80211_vif *vif) | |||
837 | { | 837 | { |
838 | struct mac80211_hwsim_data *data = dat; | 838 | struct mac80211_hwsim_data *data = dat; |
839 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; | 839 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; |
840 | DECLARE_MAC_BUF(buf); | ||
841 | struct sk_buff *skb; | 840 | struct sk_buff *skb; |
842 | struct ieee80211_pspoll *pspoll; | 841 | struct ieee80211_pspoll *pspoll; |
843 | 842 | ||
@@ -867,7 +866,6 @@ static void hwsim_send_nullfunc(struct mac80211_hwsim_data *data, u8 *mac, | |||
867 | struct ieee80211_vif *vif, int ps) | 866 | struct ieee80211_vif *vif, int ps) |
868 | { | 867 | { |
869 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; | 868 | struct hwsim_vif_priv *vp = (void *)vif->drv_priv; |
870 | DECLARE_MAC_BUF(buf); | ||
871 | struct sk_buff *skb; | 869 | struct sk_buff *skb; |
872 | struct ieee80211_hdr *hdr; | 870 | struct ieee80211_hdr *hdr; |
873 | 871 | ||