]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mac80211: mesh only parameter mppath maybe unused
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 14 Jan 2011 16:07:56 +0000 (08:07 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 19 Jan 2011 16:36:09 +0000 (11:36 -0500)
mppath is mesh related parameter and maybe unused

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c

index dc261bbba5220a224432745fe5783bbe0d571209..2378305f7534498170151528d33c369f26326279 100644 (file)
@@ -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;