Skip to content

Commit

Permalink
ixgbe: Fix build with PCI_IOV enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 22, 2012
1 parent 7491302 commit d47e12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d47e12d

Please sign in to comment.