Skip to contentSkip to conversation

PCI: remove unused "deprecated" macro PCI_MSIX_FLAGS_BIRMASK

PATCH Applied Yijing Wang 2 participants 2 messages Sep 12, 2013 – Oct 4, 2013 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 PCI: remove unused "deprecated" macro PCI_MSIX_FLAGS_BIRMASK

PCI_MSIX_FLAGS_BIRMASK has been replaced by PCI_MSIX_TABLE_BIR for better readability. Now no one uses it, remove it.

---
 include/uapi/linux/pci_regs.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
include/uapi/linux/pci_regs.h +0 -1
index baa7852..f050914 100644
@@ -319,7 +319,6 @@
 #define PCI_MSIX_PBA		8	/* Pending Bit Array offset */
 #define  PCI_MSIX_PBA_BIR	0x00000007 /* BAR index */
 #define  PCI_MSIX_PBA_OFFSET	0xfffffff8 /* Offset into specified BAR */
-#define  PCI_MSIX_FLAGS_BIRMASK	(7 << 0)   /* deprecated */
 #define PCI_CAP_MSIX_SIZEOF	12	/* size of MSIX registers */
 
 /* MSI-X entry's format */
Signature · 1 line
1.7.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Yijing Wang

PCI_MSIX_FLAGS_BIRMASK has been replaced by PCI_MSIX_TABLE_BIR for better readability. Now no one uses it, remove it.

Applied, thanks!

Quoted 20 lines
---
 include/uapi/linux/pci_regs.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
include/uapi/linux/pci_regs.h +0 -2
index baa7852..f050914 100644
@@ -319,7 +319,6 @@
 #define PCI_MSIX_PBA           8       /* Pending Bit Array offset */
 #define  PCI_MSIX_PBA_BIR      0x00000007 /* BAR index */
 #define  PCI_MSIX_PBA_OFFSET   0xfffffff8 /* Offset into specified BAR */
-#define  PCI_MSIX_FLAGS_BIRMASK        (7 << 0)   /* deprecated */
 #define PCI_CAP_MSIX_SIZEOF    12      /* size of MSIX registers */
 
 /* MSI-X entry's format */
--

1.7.1