From: Wey-Yi Guy Date: Fri, 14 Jan 2011 16:07:56 +0000 (-0800) Subject: mac80211: mesh only parameter mppath maybe unused X-Git-Tag: MMI-PSA29.97-13-9~20520^2~448^2~48 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0a65169b1f602b955176cb5f0789139d0fccb041;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.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 dc261bbba522..2378305f7534 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;