Re: [PATCH 2.6.36 1/1] mac80211: fix for tx.c compiler warnings.

From: Johannes Berg
Date: Mon Nov 08 2010 - 12:49:15 EST


On Mon, 08 Nov 2010 21:31:33 +0530, Atul Sowani <sowani@xxxxxxxxx> wrote:
> Added conditional compilation with CONFIG_MAC80211_MESH to avoid compile
> time
> warning about declared but unused variable.

2.6.36? Really? a trivial warning fix for the stable tree? I don't think
so...


> +#ifdef CONFIG_MAC80211_MESH
> struct ieee80211s_hdr mesh_hdr;
> +#endif

Besides, it should be __maybe_unused.

johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/