Skip to content

Commit 0da03fd

Browse files
author
Fox Snowpatch
committed
1 parent 4f37907 commit 0da03fd

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/pci/pcie/aer.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,8 +1041,6 @@ static bool is_error_source(struct pci_dev *dev, struct aer_err_info *e_info)
10411041
* 3) There are multiple errors and prior ID comparing fails;
10421042
* We check AER status registers to find possible reporter.
10431043
*/
1044-
if (atomic_read(&dev->enable_cnt) == 0)
1045-
return false;
10461044

10471045
/* Check if AER is enabled */
10481046
pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &reg16);

0 commit comments

Comments
 (0)