From: David S. Miller Date: Sun, 22 Jul 2012 19:36:41 +0000 (-0700) Subject: ixgbe: Fix build with PCI_IOV enabled. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d47e12d63e745f667a977226c3f59ae14521592d;p=openwrt%2Fstaging%2Fblogic.git ixgbe: Fix build with PCI_IOV enabled. Signed-off-by: David S. Miller --- 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