linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: <sowani@gmail.com>
Cc: <linux-wireless@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2.6.36 1/1] mac80211: fix for tx.c compiler warnings.
Date: Mon, 08 Nov 2010 18:49:06 +0100	[thread overview]
Message-ID: <7383627c9e4034d3837bec0475bf62e6@localhost> (raw)
In-Reply-To: <4CD81EDD.1000309@gmail.com>

On Mon, 08 Nov 2010 21:31:33 +0530, Atul Sowani <sowani@gmail.com> 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

      reply	other threads:[~2010-11-08 17:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-08 16:01 [PATCH 2.6.36 1/1] mac80211: fix for tx.c compiler warnings Atul Sowani
2010-11-08 17:49 ` Johannes Berg [this message]

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=7383627c9e4034d3837bec0475bf62e6@localhost \
    --to=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=sowani@gmail.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).