summaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-18 01:39:57 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-04-23 17:50:30 +0200
commit9925ad0cf12675203cf209e1d96ebab19f19c86a (patch)
tree33fedaafd81a1f37f5e92c03bd7e2c70947cae8b /drivers/pci/msi.h
parentPCI: Drop msi_control_reg() macro and use PCI_MSI_FLAGS directly (diff)
downloadlinux-9925ad0cf12675203cf209e1d96ebab19f19c86a.tar.xz
linux-9925ad0cf12675203cf209e1d96ebab19f19c86a.zip
PCI: Drop msi_lower_address_reg() and msi_upper_address_reg() macros
msi_lower_address_reg() and msi_upper_address_reg() don't provide any useful abstraction, so drop them. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/msi.h')
-rw-r--r--drivers/pci/msi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/msi.h b/drivers/pci/msi.h
index 6aa7b1903796..e5b87d60cb95 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -6,8 +6,6 @@
#ifndef MSI_H
#define MSI_H
-#define msi_lower_address_reg(base) (base + PCI_MSI_ADDRESS_LO)
-#define msi_upper_address_reg(base) (base + PCI_MSI_ADDRESS_HI)
#define msi_data_reg(base, is64bit) \
(base + ((is64bit == 1) ? PCI_MSI_DATA_64 : PCI_MSI_DATA_32))
#define msi_mask_reg(base, is64bit) \