diff options
author | Oza Pawandeep <poza@codeaurora.org> | 2018-09-28 13:00:56 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-10-02 16:04:40 -0500 |
commit | 62b36c3ea664b34004b9d29bf541b6c6ce30e33c (patch) | |
tree | 2f57da1addc293bafecf9bf0b4e4e91360e8ff24 /drivers/scsi/bfa/bfad.c | |
parent | 74171e9dab62bd9ab616c1a8f9f1c13af71f4f5d (diff) | |
download | linux-62b36c3ea664b34004b9d29bf541b6c6ce30e33c.tar.gz linux-62b36c3ea664b34004b9d29bf541b6c6ce30e33c.tar.bz2 linux-62b36c3ea664b34004b9d29bf541b6c6ce30e33c.zip |
PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() calls
After bfcb79fca19d ("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>
Diffstat (limited to 'drivers/scsi/bfa/bfad.c')
-rw-r--r-- | drivers/scsi/bfa/bfad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index bd7e6a6fc1f1..911efc98d1fd 100644 --- a/drivers/scsi/bfa/bfad.c +++ b/drivers/scsi/bfa/bfad.c @@ -1569,8 +1569,6 @@ bfad_pci_slot_reset(struct pci_dev *pdev) if (pci_set_dma_mask(bfad->pcidev, DMA_BIT_MASK(32)) != 0) goto out_disable_device; - pci_cleanup_aer_uncorrect_error_status(pdev); - if (restart_bfa(bfad) == -1) goto out_disable_device; |