netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: roopa@cumulusnetworks.com
Cc: netdev@vger.kernel.org, dsa@cumulusnetworks.com
Subject: Re: [PATCH net-next] lwtunnel: remove unused but set variable
Date: Mon, 13 Mar 2017 23:56:21 -0700 (PDT)	[thread overview]
Message-ID: <20170313.235621.1722250882249001781.davem@davemloft.net> (raw)
In-Reply-To: <1489471488-12341-1-git-send-email-roopa@cumulusnetworks.com>

From: Roopa Prabhu <roopa@cumulusnetworks.com>
Date: Mon, 13 Mar 2017 23:04:48 -0700

> From: Roopa Prabhu <roopa@cumulusnetworks.com>
> 
> silences the below warning:
> net/core/lwtunnel.c: In function ‘lwtunnel_valid_encap_type_attr’:
> net/core/lwtunnel.c:165:17: warning: variable ‘nla’ set but not used
> [-Wunused-but-set-variable]
> 
> Fixes: 9ed59592e3e3 ("lwtunnel: fix autoload of lwt modules")
> Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>

Looks like the result of some cut and paste from the parsing in
net/ipv4/fib_semantics.c :-)

Applied, thanks.

      reply	other threads:[~2017-03-14  6:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-14  6:04 [PATCH net-next] lwtunnel: remove unused but set variable Roopa Prabhu
2017-03-14  6:56 ` David Miller [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=20170313.235621.1722250882249001781.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dsa@cumulusnetworks.com \
    --cc=netdev@vger.kernel.org \
    --cc=roopa@cumulusnetworks.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).