From: David S. Miller Date: Sun, 22 Jul 2012 19:36:41 +0000 (-0700) Subject: ixgbe: Fix build with PCI_IOV enabled. X-Git-Tag: upstream/snapshot3+hdmi~6997^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d47e12d63e745f667a977226c3f59ae14521592d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 47b2ce7..4fea871 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