summaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-18 01:44:48 +0200
committerBjorn Helgaas <bhelgaas@google.com>2013-04-23 17:50:30 +0200
commit527eee292d2ee69708a20b90049ef49bdeefc882 (patch)
tree6f6c95432644c8e9a63b76f24f7720d9f16b367f /drivers/pci/msi.h
parentPCI: Drop msix_table_offset_reg() and msix_pba_offset_reg() macros (diff)
downloadlinux-527eee292d2ee69708a20b90049ef49bdeefc882.tar.xz
linux-527eee292d2ee69708a20b90049ef49bdeefc882.zip
PCI: Use msix_table_size() directly, drop multi_msix_capable()
The users of multi_msix_capable() are really interested in the table size, so just say what we mean. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/msi.h')
-rw-r--r--drivers/pci/msi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/msi.h b/drivers/pci/msi.h
index d76c7b2c993c..df128309f837 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -9,7 +9,4 @@
#define msi_mask_reg(base, is64bit) \
(base + ((is64bit == 1) ? PCI_MSI_MASK_64 : PCI_MSI_MASK_32))
-#define msix_table_size(control) ((control & PCI_MSIX_FLAGS_QSIZE)+1)
-#define multi_msix_capable(control) msix_table_size((control))
-
#endif /* MSI_H */