diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-08-08 15:26:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-09 22:30:52 -0700 |
commit | 16587c210cc58c2571ee3905a1c1213ca2642506 (patch) | |
tree | 6140ffea496b64fd9ef96dfe3e8b061301f073eb /drivers | |
parent | d1cf33d93166f146484659448bda54f1f651379b (diff) |
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')
-rw-r--r-- | drivers/net/ethernet/ibm/ibmvnic.c | 1 |
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; |