Skip to contentSkip to conversation

pci/aer: Remove local PCI_BUS() define and use PCI_BUS() from pci

PATCH Superseded Shuah Khan 1 participant 1 message Feb 11, 2013 PCI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Shuah Khan

author
#0 lore raw

PATCH 2/4 pci/aer: Remove local PCI_BUS() define and use PCI_BUS() from pci

Change to remove local PCI_BUS() define and use the new PCI_BUS interface from pci.

---
 drivers/pci/pcie/aer/aerdrv_core.c |    2 --
 1 file changed, 2 deletions(-)
drivers/pci/pcie/aer/aerdrv_core.c +0 -2
index 564d97f..69e406e 100644
@@ -89,8 +89,6 @@ static int add_error_device(struct aer_err_info *e_info, struct pci_dev *dev)
 	return -ENOSPC;
 }
 
-#define	PCI_BUS(x)	(((x) >> 8) & 0xff)
-
 /**
  * is_error_source - check whether the device is source of reported error
  * @dev: pointer to pci_dev to be checked
Signature · 1 line
1.7.9.5