linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: wey-yi.w.guy@intel.com
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/1] mac80211: fix warning for un-used parameter
Date: Sat, 21 Aug 2010 12:04:25 +0200	[thread overview]
Message-ID: <1282385065.3759.1.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1282340976-10665-1-git-send-email-wey-yi.w.guy@intel.com>

On Fri, 2010-08-20 at 14:49 -0700, wey-yi.w.guy@intel.com 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?

johannes


  reply	other threads:[~2010-08-21 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20 21:49 [PATCH 1/1] mac80211: fix warning for un-used parameter wey-yi.w.guy
2010-08-21 10:04 ` Johannes Berg [this message]
2010-08-21 14:18   ` Guy, Wey-Yi W

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1282385065.3759.1.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=wey-yi.w.guy@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).