Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755153Ab0KHRtK (ORCPT ); Mon, 8 Nov 2010 12:49:10 -0500 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 Content-Transfer-Encoding: 8bit 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> User-Agent: RoundCube Webmail/0.3.1 X-sips-origin: local Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 21 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/