summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ibm
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2017-08-08 15:26:18 -0500
committerDavid S. Miller <davem@davemloft.net>2017-08-09 22:30:52 -0700
commit16587c210cc58c2571ee3905a1c1213ca2642506 (patch)
tree6140ffea496b64fd9ef96dfe3e8b061301f073eb /drivers/net/ethernet/ibm
parentd1cf33d93166f146484659448bda54f1f651379b (diff)
downloadlinux-16587c210cc58c2571ee3905a1c1213ca2642506.tar.bz2
ibmvnic: Correct 'unused variable' warning in build.
Commit a248878d7a1d ("ibmvnic: Check for transport event on driver resume") removed the loop to kick irqs on driver resume but didn't remove the now unused loop variable 'i'. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm')
-rw-r--r--drivers/net/ethernet/ibm/ibmvnic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 6b7d6b8aeb7a..5ac873173b2e 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -4013,7 +4013,6 @@ static int ibmvnic_resume(struct device *dev)
{
struct net_device *netdev = dev_get_drvdata(dev);
struct ibmvnic_adapter *adapter = netdev_priv(netdev);
- int i;
if (adapter->state != VNIC_OPEN)
return 0;