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

ixgbe: Fix build with PCI_IOV enabled.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7491302d
...@@ -236,7 +236,7 @@ void ixgbe_disable_sriov(struct ixgbe_adapter *adapter) ...@@ -236,7 +236,7 @@ void ixgbe_disable_sriov(struct ixgbe_adapter *adapter)
if (ixgbe_vfs_are_assigned(adapter)) { if (ixgbe_vfs_are_assigned(adapter)) {
e_dev_warn("Unloading driver while VFs are assigned - VFs will not be deallocated\n"); e_dev_warn("Unloading driver while VFs are assigned - VFs will not be deallocated\n");
return; return;
}
/* disable iov and allow time for transactions to clear */ /* disable iov and allow time for transactions to clear */
pci_disable_sriov(adapter->pdev); pci_disable_sriov(adapter->pdev);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment