2009-01-06 08:51:18

by Rami Rosen

[permalink] [raw]
Subject: [PATCH 4/6] mac80211: remove unused declarations in rx.c.

This patch removes four unused declarations in rx.c (of mac1..mac4).

(wireless-testing).

Signed-off-by: Rami Rosen <[email protected]>

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 384cb3b..c208b73 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -1125,10 +1125,6 @@ ieee80211_data_to_8023(struct ieee80211_rx_data *rx)
u8 src[ETH_ALEN] __aligned(2);
struct sk_buff *skb = rx->skb;
struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
- DECLARE_MAC_BUF(mac);
- DECLARE_MAC_BUF(mac2);
- DECLARE_MAC_BUF(mac3);
- DECLARE_MAC_BUF(mac4);

if (unlikely(!ieee80211_is_data_present(hdr->frame_control)))
return -1;