summaryrefslogtreecommitdiff
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-18 03:42:30 +0400
committerBjorn Helgaas <bhelgaas@google.com>2013-04-23 19:50:30 +0400
commit4987ce82056327a43cd58c32adf8a3f255e7d862 (patch)
tree828aa7b5396facb5e5708321a3ab650359d3fb1a /drivers/pci/msi.h
parent2f221349366daf074bad07cc670e483cc52ab203 (diff)
downloadlinux-4987ce82056327a43cd58c32adf8a3f255e7d862.tar.xz
PCI: Drop is_64bit_address() and is_mask_bit_support() macros
is_64bit_address() and is_mask_bit_support() 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 d2c6cd982a21..bc5cd9969062 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -8,8 +8,6 @@
#define msi_mask_reg(base, is64bit) \
(base + ((is64bit == 1) ? PCI_MSI_MASK_64 : PCI_MSI_MASK_32))
-#define is_64bit_address(control) (!!(control & PCI_MSI_FLAGS_64BIT))
-#define is_mask_bit_support(control) (!!(control & PCI_MSI_FLAGS_MASKBIT))
#define msix_table_offset_reg(base) (base + PCI_MSIX_TABLE)
#define msix_pba_offset_reg(base) (base + PCI_MSIX_PBA)