Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d47e12d6 authored by David S. Miller's avatar David S. Miller
Browse files

ixgbe: Fix build with PCI_IOV enabled.

parent 7491302d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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