netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: paul.burton@imgtec.com
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	andrew@lunn.ch, fw@strlen.de, f.fainelli@gmail.com
Subject: Re: [PATCH] net: lantiq_etop: Remove unused 'i' variable
Date: Sun, 04 Sep 2016 11:48:10 -0700 (PDT)	[thread overview]
Message-ID: <20160904.114810.1786923584461227168.davem@davemloft.net> (raw)
In-Reply-To: <20160902142654.4195-1-paul.burton@imgtec.com>

From: Paul Burton <paul.burton@imgtec.com>
Date: Fri, 2 Sep 2016 15:26:54 +0100

> Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
> removed the only use of the 'i' variable from ltq_etop_mdio_init() but
> left the variable declaration behind, leading to the following compiler
> warning:
> 
>   drivers/net/ethernet/lantiq_etop.c: In function 'ltq_etop_mdio_init':
>   drivers/net/ethernet/lantiq_etop.c:414:6: warning: unused variable 'i' [-Wunused-variable]
>     int i;
>         ^
> 
> Fix this by removing the declaration of the 'i' variable.
> 
> Signed-off-by: Paul Burton <paul.burton@imgtec.com>

This appears to already be fixed in net-next

      reply	other threads:[~2016-09-04 18:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02 14:26 [PATCH] net: lantiq_etop: Remove unused 'i' variable Paul Burton
2016-09-04 18:48 ` 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=20160904.114810.1786923584461227168.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=andrew@lunn.ch \
    --cc=f.fainelli@gmail.com \
    --cc=fw@strlen.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paul.burton@imgtec.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).