Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16587c21 authored by Nathan Fontenot's avatar Nathan Fontenot Committed by David S. Miller
Browse files

ibmvnic: Correct 'unused variable' warning in build.



Commit a248878d ("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: default avatarNathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1cf33d9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;