summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/chip.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla2015-11-01 11:44:32 +0100
committerGreg Kroah-Hartman2015-11-16 05:02:47 +0100
commit6e5b6131806d9fd05685ac6fddc297d91ea3b0ae (patch)
tree280287a2b69037cf480e346c65aa5b480e5b05ce /drivers/staging/rdma/hfi1/chip.c
parentstaging: rdma: amso1100: Remove extern from function declarations (diff)
downloadkernel-qcow2-linux-6e5b6131806d9fd05685ac6fddc297d91ea3b0ae.tar.gz
kernel-qcow2-linux-6e5b6131806d9fd05685ac6fddc297d91ea3b0ae.tar.xz
kernel-qcow2-linux-6e5b6131806d9fd05685ac6fddc297d91ea3b0ae.zip
staging: rdma: hfi1: Remove hfi1_nomsix() wrapper function
This patch removes hfi1_nomsix() wrapper function that is used to wrap pci_disable_msix() and so substituted the wrapper function by a direct call to pci_disable_msix(). Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
-rw-r--r--drivers/staging/rdma/hfi1/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index e48981994b10..a6265277cfe5 100644
--- a/drivers/staging/rdma/hfi1/chip.c
+++ b/drivers/staging/rdma/hfi1/chip.c
@@ -8785,7 +8785,7 @@ static void clean_up_interrupts(struct hfi1_devdata *dd)
/* turn off interrupts */
if (dd->num_msix_entries) {
/* MSI-X */
- hfi1_nomsix(dd);
+ pci_disable_msix(dd->pcidev);
} else {
/* INTx */
disable_intx(dd->pcidev);