diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/xen-pcifront.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/xen-pcifront.c b/drivers/pci/xen-pcifront.c index 3a5a6fcc0ead..030ce3743439 100644 --- a/drivers/pci/xen-pcifront.c +++ b/drivers/pci/xen-pcifront.c | |||
@@ -733,8 +733,7 @@ static void free_pdev(struct pcifront_device *pdev) | |||
733 | 733 | ||
734 | pcifront_free_roots(pdev); | 734 | pcifront_free_roots(pdev); |
735 | 735 | ||
736 | /*For PCIE_AER error handling job*/ | 736 | cancel_work_sync(&pdev->op_work); |
737 | flush_scheduled_work(); | ||
738 | 737 | ||
739 | if (pdev->irq >= 0) | 738 | if (pdev->irq >= 0) |
740 | unbind_from_irqhandler(pdev->irq, pdev); | 739 | unbind_from_irqhandler(pdev->irq, pdev); |