From: Wey-Yi Guy Date: Fri, 14 Jan 2011 16:07:56 +0000 (-0800) Subject: mac80211: mesh only parameter mppath maybe unused X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0a65169b1f602b955176cb5f0789139d0fccb041;p=mv-sheeva.git mac80211: mesh only parameter mppath maybe unused mppath is mesh related parameter and maybe unused Signed-off-by: Wey-Yi Guy Signed-off-by: John W. Linville --- diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index dc261bbba52..2378305f753 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -1750,7 +1750,7 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, __le16 fc; struct ieee80211_hdr hdr; struct ieee80211s_hdr mesh_hdr __maybe_unused; - struct mesh_path *mppath = NULL; + struct mesh_path __maybe_unused *mppath = NULL; const u8 *encaps_data; int encaps_len, skip_header_bytes; int nh_pos, h_pos;