PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls
After bfcb79fca1
("PCI/ERR: Run error recovery callbacks for all affected
devices"), AER errors are always cleared by the PCI core and drivers don't
need to do it themselves.
Remove calls to pci_cleanup_aer_uncorrect_error_status() from device
driver error recovery functions.
Signed-off-by: Oza Pawandeep <poza@codeaurora.org>
[bhelgaas: changelog, remove PCI core changes, remove unused variables]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

parent
74171e9dab
commit
62b36c3ea6
@@ -4232,7 +4232,6 @@ static void qlcnic_83xx_io_resume(struct pci_dev *pdev)
|
||||
{
|
||||
struct qlcnic_adapter *adapter = pci_get_drvdata(pdev);
|
||||
|
||||
pci_cleanup_aer_uncorrect_error_status(pdev);
|
||||
if (test_and_clear_bit(__QLCNIC_AER, &adapter->state))
|
||||
qlcnic_83xx_aer_start_poll_work(adapter);
|
||||
}
|
||||
|
@@ -3975,7 +3975,6 @@ static void qlcnic_82xx_io_resume(struct pci_dev *pdev)
|
||||
u32 state;
|
||||
struct qlcnic_adapter *adapter = pci_get_drvdata(pdev);
|
||||
|
||||
pci_cleanup_aer_uncorrect_error_status(pdev);
|
||||
state = QLC_SHARED_REG_RD32(adapter, QLCNIC_CRB_DEV_STATE);
|
||||
if (state == QLCNIC_DEV_READY && test_and_clear_bit(__QLCNIC_AER,
|
||||
&adapter->state))
|
||||
|
Reference in New Issue
Block a user