[PATCH] ibmvnic: Fix unused variable warning
From: Michal Suchanek
Date: Wed Aug 09 2017 - 07:16:16 EST
Fixes: a248878d7a1d ("ibmvnic: Check for transport event on driver resume")
Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>
---
drivers/net/ethernet/ibm/ibmvnic.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
index 99576ba4187f..09c20d3b1b79 100644
--- a/drivers/net/ethernet/ibm/ibmvnic.c
+++ b/drivers/net/ethernet/ibm/ibmvnic.c
@@ -3948,7 +3948,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;
--
2.10.2