]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ibmvnic: Correct 'unused variable' warning in build.
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 8 Aug 2017 20:26:18 +0000 (15:26 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:30:52 +0000 (22:30 -0700)
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>
drivers/net/ethernet/ibm/ibmvnic.c

index 6b7d6b8aeb7abd26f0cc8d77786793c9c7ff7d74..5ac873173b2e8361c05806b397098c281ca37763 100644 (file)
@@ -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;