-----Original Message----- From: Johannes Berg [mailto:johannes@xxxxxxxxxxxxxxxx] Sent: Saturday, August 21, 2010 3:04 AM To: Guy, Wey-Yi W Cc: linux-wireless@xxxxxxxxxxxxxxx Subject: Re: [PATCH 1/1] mac80211: fix warning for un-used parameter On Fri, 2010-08-20 at 14:49 -0700, wey-yi.w.guy@xxxxxxxxx wrote: > @@ -1701,7 +1701,9 @@ netdev_tx_t ieee80211_subif_start_xmit(struct sk_buff *skb, > u16 ethertype, hdrlen, meshhdrlen = 0; > __le16 fc; > struct ieee80211_hdr hdr; > +#ifdef CONFIG_MAC80211_MESH > struct ieee80211s_hdr mesh_hdr; > +#endif Good catch. I think just adding __maybe_unused would be better though? Yeah, could do that, will re-submit Wey ��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f