[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170809111602.12170-1-msuchanek@suse.de>
Date: Wed, 9 Aug 2017 13:16:02 +0200
From: Michal Suchanek <msuchanek@...e.de>
To: Thomas Falcon <tlfalcon@...ux.vnet.ibm.com>,
John Allen <jallen@...ux.vnet.ibm.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Cc: Michal Suchanek <msuchanek@...e.de>
Subject: [PATCH] ibmvnic: Fix unused variable warning
Fixes: a248878d7a1d ("ibmvnic: Check for transport event on driver resume")
Signed-off-by: Michal Suchanek <msuchanek@...e.de>
---
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
Powered by blists - more mailing lists