[PATCH] ice: Remove pci_aer_clear_nonfatal_status() call
From: Zhuo Chen
Date: Wed Jun 29 2022 - 06:03:48 EST
After 62b36c3 ("PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status()
calls"), Calls to pci_cleanup_aer_uncorrect_error_status() have already
been removed. But in 5995b6d pci_cleanup_aer_uncorrect_error_status was
used again, so remove it in this patch.
Signed-off-by: Zhuo Chen <chenzhuo.1@xxxxxxxxxxxxx>
Cc: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Cc: Sen Wang <wangsen.harry@xxxxxxxxxxxxx>
Cc: Wenliang Wang <wangwenliang.1995@xxxxxxxxxxxxx>
---
drivers/net/ethernet/intel/ice/ice_main.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/net/ethernet/intel/ice/ice_main.c b/drivers/net/ethernet/intel/ice/ice_main.c
index c1ac2f746714..6bf6d8b5a967 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -5313,12 +5313,6 @@ static pci_ers_result_t ice_pci_err_slot_reset(struct pci_dev *pdev)
result = PCI_ERS_RESULT_DISCONNECT;
}
- err = pci_aer_clear_nonfatal_status(pdev);
- if (err)
- dev_dbg(&pdev->dev, "pci_aer_clear_nonfatal_status() failed, error %d\n",
- err);
- /* non-fatal, continue */
-
return result;
}
--
2.20.1