diff options
author | Guenter Roeck | 2016-01-10 16:10:45 +0100 |
---|---|---|
committer | David S. Miller | 2016-01-11 05:31:25 +0100 |
commit | e253e8fbab01059c25c6d091e4888c68a26691f5 (patch) | |
tree | 84ea8475903886afa04bdc8b4fce4eed9aa5f2be | |
parent | net: tc35815: Fix build error due to missed API change (diff) | |
download | kernel-qcow2-linux-e253e8fbab01059c25c6d091e4888c68a26691f5.tar.gz kernel-qcow2-linux-e253e8fbab01059c25c6d091e4888c68a26691f5.tar.xz kernel-qcow2-linux-e253e8fbab01059c25c6d091e4888c68a26691f5.zip |
net: tc35815: Drop unused variable
Commit e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
removes some code from tc_mii_init(), but does not remove a now unused
variable. This results in the following build warning.
drivers/net/ethernet/toshiba/tc35815.c: In function 'tc_mii_init':
drivers/net/ethernet/toshiba/tc35815.c:670:6: warning: unused variable 'i'
Fixes: e7f4dc3536a4 ("mdio: Move allocation of interrupts into core")
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/toshiba/tc35815.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/toshiba/tc35815.c b/drivers/net/ethernet/toshiba/tc35815.c index 71efe0092bec..54874783476a 100644 --- a/drivers/net/ethernet/toshiba/tc35815.c +++ b/drivers/net/ethernet/toshiba/tc35815.c @@ -654,7 +654,6 @@ static int tc_mii_init(struct net_device *dev) { struct tc35815_local *lp = netdev_priv(dev); int err; - int i; lp->mii_bus = mdiobus_alloc(); if (lp->mii_bus == NULL) { |