File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -242,18 +242,6 @@ int pci_enable_pcie_error_reporting(struct pci_dev *dev)
242
242
}
243
243
EXPORT_SYMBOL_GPL (pci_enable_pcie_error_reporting );
244
244
245
- int pci_disable_pcie_error_reporting (struct pci_dev * dev )
246
- {
247
- int rc ;
248
-
249
- if (!pcie_aer_is_native (dev ))
250
- return - EIO ;
251
-
252
- rc = pcie_capability_clear_word (dev , PCI_EXP_DEVCTL , PCI_EXP_AER_FLAGS );
253
- return pcibios_err_to_errno (rc );
254
- }
255
- EXPORT_SYMBOL_GPL (pci_disable_pcie_error_reporting );
256
-
257
245
int pci_aer_clear_nonfatal_status (struct pci_dev * dev )
258
246
{
259
247
int aer = dev -> aer_cap ;
Original file line number Diff line number Diff line change @@ -43,17 +43,12 @@ struct aer_capability_regs {
43
43
#if defined(CONFIG_PCIEAER )
44
44
/* PCIe port driver needs this function to enable AER */
45
45
int pci_enable_pcie_error_reporting (struct pci_dev * dev );
46
- int pci_disable_pcie_error_reporting (struct pci_dev * dev );
47
46
int pci_aer_clear_nonfatal_status (struct pci_dev * dev );
48
47
#else
49
48
static inline int pci_enable_pcie_error_reporting (struct pci_dev * dev )
50
49
{
51
50
return - EINVAL ;
52
51
}
53
- static inline int pci_disable_pcie_error_reporting (struct pci_dev * dev )
54
- {
55
- return - EINVAL ;
56
- }
57
52
static inline int pci_aer_clear_nonfatal_status (struct pci_dev * dev )
58
53
{
59
54
return - EINVAL ;
You can’t perform that action at this time.
0 commit comments