OSDN Git Service

PCI: Drop msix_table_offset_reg() and msix_pba_offset_reg() macros
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Apr 2013 23:43:40 +0000 (17:43 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commit909094c62e21c71c4fd122642512ad05b75fe019
tree243360c2431db524c2ca3eb00a17431f1244a601
parent4987ce82056327a43cd58c32adf8a3f255e7d862
PCI: Drop msix_table_offset_reg() and msix_pba_offset_reg() macros

msix_table_offset_reg() is used only once and adds a useless indirection,
so just use the table offset directly.

msix_pba_offset_reg() is unused, so just delete it.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c
drivers/pci/msi.h