* [PATCH 2/4] pci/aer: Remove local PCI_BUS() define and use PCI_BUS() from pci
@ 2013-02-11 23:00 Shuah Khan
0 siblings, 0 replies; only message in thread
From: Shuah Khan @ 2013-02-11 23:00 UTC (permalink / raw)
To: Joerg Roedel, bhelgaas-hpIqsD4AKlfQT0dZR+AlfA
Cc: jiang.liu-hv44wF8Li93QT0dZR+AlfA,
linux-pci-u79uwXL29TY76Z2rM5mHXA, LKML,
linasvepstas-Re5JQEeQqe8AvxtiuMwx3w,
dhowells-H+wXaHxf7aLQT0dZR+AlfA,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
wangyijing-hv44wF8Li93QT0dZR+AlfA, davej-H+wXaHxf7aLQT0dZR+AlfA,
tglx-hfZtesqFncYOwBW4kG4KsQ,
paulmck-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8,
shemminger-ZtmgI6mnKB3QT0dZR+AlfA,
shuahkhan-Re5JQEeQqe8AvxtiuMwx3w
Change to remove local PCI_BUS() define and use the new PCI_BUS interface from
pci.
Signed-off-by: Shuah Khan <shuah.khan-VXdhtT5mjnY@public.gmane.org>
---
drivers/pci/pcie/aer/aerdrv_core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c
index 564d97f..69e406e 100644
--- a/drivers/pci/pcie/aer/aerdrv_core.c
+++ b/drivers/pci/pcie/aer/aerdrv_core.c
@@ -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
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-02-11 23:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 23:00 [PATCH 2/4] pci/aer: Remove local PCI_BUS() define and use PCI_BUS() from pci Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).