[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220714180311.933648-4-anthony.l.nguyen@intel.com>
Date: Thu, 14 Jul 2022 11:03:11 -0700
From: Tony Nguyen <anthony.l.nguyen@...el.com>
To: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com,
edumazet@...gle.com
Cc: Zhuo Chen <chenzhuo.1@...edance.com>, netdev@...r.kernel.org,
anthony.l.nguyen@...el.com, Muchun Song <songmuchun@...edance.com>,
Sen Wang <wangsen.harry@...edance.com>,
Wenliang Wang <wangwenliang.1995@...edance.com>,
Gurucharan <gurucharanx.g@...el.com>
Subject: [PATCH net-next 3/3] ice: Remove pci_aer_clear_nonfatal_status() call
From: Zhuo Chen <chenzhuo.1@...edance.com>
After commit 62b36c3ea664 ("PCI/AER: Remove
pci_cleanup_aer_uncorrect_error_status() calls"), calls to
pci_cleanup_aer_uncorrect_error_status() have already been removed. But in
commit 5995b6d0c6fc ("ice: Implement pci_error_handler ops")
pci_cleanup_aer_uncorrect_error_status was used again, so remove it in
this patch.
Signed-off-by: Zhuo Chen <chenzhuo.1@...edance.com>
Cc: Muchun Song <songmuchun@...edance.com>
Cc: Sen Wang <wangsen.harry@...edance.com>
Cc: Wenliang Wang <wangwenliang.1995@...edance.com>
Tested-by: Gurucharan <gurucharanx.g@...el.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@...el.com>
---
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 2309a6b96a52..f28f6c0ef301 100644
--- a/drivers/net/ethernet/intel/ice/ice_main.c
+++ b/drivers/net/ethernet/intel/ice/ice_main.c
@@ -5317,12 +5317,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.35.1
Powered by blists - more mailing lists