]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ixgbe: Fix build with PCI_IOV enabled.
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2012 19:36:41 +0000 (12:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2012 19:36:41 +0000 (12:36 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c

index 47b2ce740ec140fe665251851eb3aa9253f069d0..4fea8716ab64a2952b9bb052c98ffa5ccbb2014a 100644 (file)
@@ -236,7 +236,7 @@ void ixgbe_disable_sriov(struct ixgbe_adapter *adapter)
        if (ixgbe_vfs_are_assigned(adapter)) {
                e_dev_warn("Unloading driver while VFs are assigned - VFs will not be deallocated\n");
                return;
-
+       }
        /* disable iov and allow time for transactions to clear */
        pci_disable_sriov(adapter->pdev);
 #endif