Skip to contentSkip to conversation

PCI/MSI: Remove the unused function msi_enabled_mask()

PATCH Applied Yijing Wang 1 participant 1 message Jun 19, 2014 PCI

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 PCI/MSI: Remove the unused function msi_enabled_mask()

No one uses msi_enabled_mask(), remove the dead code.

---
 drivers/pci/msi.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/pci/msi.c +0 -5
index 7c9fb3a..dd34dbe 100644
@@ -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
Signature · 1 line
1.7.1