]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Remove MSI/MSI-X cap check in pci_msi_check_device()
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 4 Apr 2013 16:54:31 +0000 (16:54 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commit2edbcdd6d8a3003dd8ef75b0433c471729187f60
tree96159b3a688b284881506a40281fa73248e79b0e
parent0831d0b1d1b3c3ce8145a0d6d5cf8d2927f5286d
PCI: Remove MSI/MSI-X cap check in pci_msi_check_device()

The function pci_msi_check_device() is called while enabling MSI
or MSI-X interrupts to make sure the PCI device can support MSI
or MSI-X capability.  This patch removes the check on MSI or MSI-X
capability in the function and lets the caller do the check.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c