summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2014-06-19 16:30:09 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-07-03 16:54:10 -0600
commit199596ef9184ab2bc0eb43d1af9e0b723ce07840 (patch)
treec8a6c892f38691fb83ad7a1b912e795fdafb00b9 /drivers/pci
parent66f0d0c40c08c12d069a2ed513ea48426ecc8820 (diff)
PCI/MSI: Remove unused msi_enabled_mask()
No one uses msi_enabled_mask(); remove the dead code. No functional change. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index ba84f17d806..9c6995043ff 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -172,11 +172,6 @@ static inline __attribute_const__ u32 msi_capable_mask(u16 control)
return msi_mask((control >> 1) & 7);
}
-static inline __attribute_const__ u32 msi_enabled_mask(u16 control)
-{
- return msi_mask((control >> 4) & 7);
-}
-
/*
* PCI 2.3 does not specify mask bits for each MSI interrupt. Attempting to
* mask all MSI interrupts by clearing the MSI enable bit does not work