diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-18 01:44:48 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-23 17:50:30 +0200 |
commit | 527eee292d2ee69708a20b90049ef49bdeefc882 (patch) | |
tree | 6f6c95432644c8e9a63b76f24f7720d9f16b367f /drivers/pci/msi.h | |
parent | PCI: Drop msix_table_offset_reg() and msix_pba_offset_reg() macros (diff) | |
download | linux-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.h | 3 |
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 */ |