summaryrefslogtreecommitdiff
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-18 03:41:13 +0400
committerBjorn Helgaas <bhelgaas@google.com>2013-04-23 19:50:30 +0400
commit2f221349366daf074bad07cc670e483cc52ab203 (patch)
tree6dd2c47842b5af11dd54980f1b8234494f2bc772 /drivers/pci/msi.h
parent9925ad0cf12675203cf209e1d96ebab19f19c86a (diff)
downloadlinux-2f221349366daf074bad07cc670e483cc52ab203.tar.xz
PCI: Drop msi_data_reg() macro
msi_data_reg() doesn't provide any useful abstraction, so drop it. 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 e5b87d60cb95..d2c6cd982a21 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -6,8 +6,6 @@
#ifndef MSI_H
#define MSI_H
-#define msi_data_reg(base, is64bit) \
- (base + ((is64bit == 1) ? PCI_MSI_DATA_64 : PCI_MSI_DATA_32))
#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))