mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
ixgbe: Fix build with PCI_IOV enabled.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7491302dc7
commit
d47e12d63e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue