Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:47542 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752818Ab0KHRtI (ORCPT ); Mon, 8 Nov 2010 12:49:08 -0500 To: Subject: Re: [PATCH 2.6.36 1/1] mac80211: fix for tx.c compiler warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Date: Mon, 08 Nov 2010 18:49:06 +0100 From: Johannes Berg Cc: , In-Reply-To: <4CD81EDD.1000309@gmail.com> References: <4CD81EDD.1000309@gmail.com> Message-ID: <7383627c9e4034d3837bec0475bf62e6@localhost> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 08 Nov 2010 21:31:33 +0530, Atul Sowani 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