diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-17 17:44:48 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-23 09:50:30 -0600 |
commit | 527eee292d2ee69708a20b90049ef49bdeefc882 (patch) | |
tree | 6f6c95432644c8e9a63b76f24f7720d9f16b367f /drivers/pci/msi.h | |
parent | 909094c62e21c71c4fd122642512ad05b75fe019 (diff) |
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 */ |