drivers/passthrough: Revert 23352:ea48976517af -- incorrect bugfix.

Signed-off-by: Keir Fraser <keir@xen.org>
This commit is contained in:
Keir Fraser committed 2011-05-23 18:35:04 +01:00
1 parent 28f8fb7d2b
commit 36a72c1e42
1 file changed
+2 -2
+2 -2
View File
@@ -173,11 +173,11 @@ out:
int pci_remove_device(u8 bus, u8 devfn)
{
struct pci_dev *pdev, *tmp;
struct pci_dev *pdev;
int ret = -ENODEV;
spin_lock(&pcidevs_lock);
list_for_each_entry_safe ( pdev, tmp, &alldevs_list, alldevs_list )
list_for_each_entry ( pdev, &alldevs_list, alldevs_list )
if ( pdev->bus == bus && pdev->devfn == devfn )
{
ret = iommu_remove_device(pdev);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.