From: "Emilio López" <emilio@elopez.com.ar>
To: sfr@canb.auug.org.au, davem@davemloft.net
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"Emilio López" <emilio@elopez.com.ar>
Subject: [PATCH 2/3] net: ethernet: korina: drop unused variable
Date: Wed, 22 May 2013 20:57:36 -0300 [thread overview]
Message-ID: <1369267057-9371-2-git-send-email-emilio@elopez.com.ar> (raw)
In-Reply-To: <1369267057-9371-1-git-send-email-emilio@elopez.com.ar>
Commit e998fd4 ("net: ethernet: korina: initialize variables directly")
dropped the only loop that was using i but did not remove the actual
variable, therefore causing a warning when building. This patch drops
the now redundant line.
Signed-off-by: Emilio López <emilio@elopez.com.ar>
---
drivers/net/ethernet/korina.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c
index 0b57085..e7851d1 100644
--- a/drivers/net/ethernet/korina.c
+++ b/drivers/net/ethernet/korina.c
@@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev)
unsigned long flags;
struct netdev_hw_addr *ha;
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
- int i;
/* Set promiscuous mode */
if (dev->flags & IFF_PROMISC)
--
1.8.2.3
next prev parent reply other threads:[~2013-05-23 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 5:55 linux-next: build warning after merge of the final tree (net-next tree related) Stephen Rothwell
2013-05-22 13:24 ` Emilio López
2013-05-22 19:26 ` David Miller
2013-05-22 23:57 ` [PATCH 1/3] net: ethernet: apple: drop unused variable Emilio López
2013-05-22 23:57 ` Emilio López [this message]
2013-05-23 6:43 ` [PATCH 2/3] net: ethernet: korina: " David Miller
2013-05-22 23:57 ` [PATCH 3/3] net: ethernet: sun: " Emilio López
2013-05-23 6:43 ` David Miller
2013-05-23 12:54 ` Emilio López
2013-05-23 19:13 ` David Miller
2013-05-23 6:43 ` [PATCH 1/3] net: ethernet: apple: " David Miller
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=1369267057-9371-2-git-send-email-emilio@elopez.com.ar \
--to=emilio@elopez.com.ar \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/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
all inboxes | Powered by JetHome®