PCI: Remove reset argument from pci_iov_{add,remove}_virtfn()
The "reset" argument passed to pci_iov_add_virtfn() and
pci_iov_remove_virtfn() is always zero since 46cb7b1bd8
("PCI: Remove
unused SR-IOV VF Migration support")
Remove the argument together with the associated code.
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Russell Currey <ruscur@russell.cc>
This commit is contained in:

committed by
Bjorn Helgaas

parent
9e66317d3c
commit
753f612471
@@ -441,7 +441,7 @@ static void *eeh_add_virt_device(void *data, void *userdata)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PPC_POWERNV
|
||||
pci_iov_add_virtfn(edev->physfn, pdn->vf_index, 0);
|
||||
pci_iov_add_virtfn(edev->physfn, pdn->vf_index);
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
@@ -499,7 +499,7 @@ static void *eeh_rmv_device(void *data, void *userdata)
|
||||
#ifdef CONFIG_PPC_POWERNV
|
||||
struct pci_dn *pdn = eeh_dev_to_pdn(edev);
|
||||
|
||||
pci_iov_remove_virtfn(edev->physfn, pdn->vf_index, 0);
|
||||
pci_iov_remove_virtfn(edev->physfn, pdn->vf_index);
|
||||
edev->pdev = NULL;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user