* [PATCH 2/5] PCI/MSI: Remove the unused function msi_enabled_mask()
@ 2014-06-19 8:30 Yijing Wang
0 siblings, 0 replies; only message in thread
From: Yijing Wang @ 2014-06-19 8:30 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: linux-pci, Wuyun, Xinwei Hu, Yijing Wang
No one uses msi_enabled_mask(), remove the dead code.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
drivers/pci/msi.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index 7c9fb3a..dd34dbe 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -173,11 +173,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
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-06-19 8:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-19 8:30 [PATCH 2/5] PCI/MSI: Remove the unused function msi_enabled_mask() Yijing Wang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.