]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/dma/ioat/init.c
Merge branch 'linus' into x86/urgent, to refresh the tree
[linux.git] / drivers / dma / ioat / init.c
index 0fec3c554fe35427cc9760734a7ec224256d74d0..2d810dfcdc484ea18eac117a47f074a97b40c456 100644 (file)
@@ -1258,7 +1258,6 @@ static pci_ers_result_t ioat_pcie_error_detected(struct pci_dev *pdev,
 static pci_ers_result_t ioat_pcie_error_slot_reset(struct pci_dev *pdev)
 {
        pci_ers_result_t result = PCI_ERS_RESULT_RECOVERED;
-       int err;
 
        dev_dbg(&pdev->dev, "%s post reset handling\n", DRV_NAME);
 
@@ -1273,12 +1272,6 @@ static pci_ers_result_t ioat_pcie_error_slot_reset(struct pci_dev *pdev)
                pci_wake_from_d3(pdev, false);
        }
 
-       err = pci_cleanup_aer_uncorrect_error_status(pdev);
-       if (err) {
-               dev_err(&pdev->dev,
-                       "AER uncorrect error status clear failed: %#x\n", err);
-       }
-
        return result;
 }