summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-22 23:36:41 +0400
committerDavid S. Miller <davem@davemloft.net>2012-07-22 23:36:41 +0400
commitd47e12d63e745f667a977226c3f59ae14521592d (patch)
treed2cac67f931e6ecef7c3e2b28e4f5a2da3231ed4 /drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
parent7491302dc765d33cbec121d5ffc0a3c040cbe444 (diff)
downloadlinux-d47e12d63e745f667a977226c3f59ae14521592d.tar.xz
ixgbe: Fix build with PCI_IOV enabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
index 47b2ce740ec1..4fea8716ab64 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
@@ -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