summaryrefslogtreecommitdiff
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2010-08-21 07:23:29 -0700
committerJohn W. Linville <linville@tuxdriver.com>2010-08-25 14:33:17 -0400
commitff67bb86d448c26cb9110e9681669dc4a8aa5e0a (patch)
treeb8fed75d276b69d3265713469aebcfb60b51400e /net/mac80211/tx.c
parent3a59babbee409fa5f1b2dd8a14c40803b5eb288b (diff)
downloadlinux-3.10-ff67bb86d448c26cb9110e9681669dc4a8aa5e0a.tar.gz
linux-3.10-ff67bb86d448c26cb9110e9681669dc4a8aa5e0a.tar.bz2
linux-3.10-ff67bb86d448c26cb9110e9681669dc4a8aa5e0a.zip
mac80211: fix warning for un-used parameter
mesh_hdr only used when CONFIG_MAC80211_MESH is defined Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index d51ec74cfb6..a6ac9fd248f 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -1701,7 +1701,7 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb,
u16 ethertype, hdrlen, meshhdrlen = 0;
__le16 fc;
struct ieee80211_hdr hdr;
- struct ieee80211s_hdr mesh_hdr;
+ struct ieee80211s_hdr mesh_hdr __maybe_unused;
const u8 *encaps_data;
int encaps_len, skip_header_bytes;
int nh_pos, h_pos;