diff mbox

[1/2] PCI: remove unused "deprecated" macro PCI_MSIX_FLAGS_BIRMASK

Message ID 1378974000-13168-1-git-send-email-wangyijing@huawei.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Yijing Wang Sept. 12, 2013, 8:20 a.m. UTC
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 <wangyijing@huawei.com>
---
 include/uapi/linux/pci_regs.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Bjorn Helgaas Oct. 4, 2013, 5:39 p.m. UTC | #1
On Thu, Sep 12, 2013 at 2:20 AM, Yijing Wang <wangyijing@huawei.com> wrote:
> 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 <wangyijing@huawei.com>

Applied, thanks!

> ---
>  include/uapi/linux/pci_regs.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h
> index baa7852..f050914 100644
> --- a/include/uapi/linux/pci_regs.h
> +++ b/include/uapi/linux/pci_regs.h
> @@ -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
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/uapi/linux/pci_regs.h b/include/uapi/linux/pci_regs.h
index baa7852..f050914 100644
--- a/include/uapi/linux/pci_regs.h
+++ b/include/uapi/linux/pci_regs.h
@@ -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 */