Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1424406
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] net: lantiq_etop: remove unused variable |
| Date | 2016-06-16 23:20 +0200 |
| Message-ID | <rKMRI-4YX-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The variable i was declared but was never used and we were getting a
build warning for that.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
---
drivers/net/ethernet/lantiq_etop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c
index dc82b1b..0d2f8e9 100644
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
@@ -411,7 +411,6 @@ static int
ltq_etop_mdio_init(struct net_device *dev)
{
struct ltq_etop_priv *priv = netdev_priv(dev);
- int i;
int err;
priv->mii_bus = mdiobus_alloc();
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] net: lantiq_etop: remove unused variable Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2016-06-16 23:20 +0200 Re: [PATCH] net: lantiq_etop: remove unused variable David Miller <davem@davemloft.net> - 2016-06-18 06:00 +0200
csiph-web