PCI: remove unused "deprecated" macro PCI_MSIX_FLAGS_BIRMASK
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.
Signed-off-by Yijing Wang <[email protected]>
--- include/uapi/linux/pci_regs.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
include/uapi/linux/pci_regs.h +0 -1
@@ -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
Quoted 4 lines · Yijing Wang
PCI_MSIX_FLAGS_BIRMASKhas been replaced byPCI_MSIX_TABLE_BIRfor better readability. Now no one uses it, remove it.Signed-off-by Yijing Wang <[email protected]>
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@@ -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