File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -412,11 +412,6 @@ static bool is_cxl_restricted(struct pci_dev *pdev)
412
412
return pci_pcie_type (pdev ) == PCI_EXP_TYPE_RC_END ;
413
413
}
414
414
415
- static void disable_aer (void * pdev )
416
- {
417
- pci_disable_pcie_error_reporting (pdev );
418
- }
419
-
420
415
static int cxl_pci_probe (struct pci_dev * pdev , const struct pci_device_id * id )
421
416
{
422
417
struct cxl_register_map map ;
@@ -494,12 +489,6 @@ static int cxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
494
489
if (IS_ERR (cxlmd ))
495
490
return PTR_ERR (cxlmd );
496
491
497
- if (cxlds -> regs .ras ) {
498
- pci_enable_pcie_error_reporting (pdev );
499
- rc = devm_add_action_or_reset (& pdev -> dev , disable_aer , pdev );
500
- if (rc )
501
- return rc ;
502
- }
503
492
pci_save_state (pdev );
504
493
505
494
return rc ;
You can’t perform that action at this time.
0 commit comments