]> git.karo-electronics.de Git - linux-beck.git/commitdiff
PCI/MSI: Remove unused msi_enabled_mask()
authorYijing Wang <wangyijing@huawei.com>
Thu, 19 Jun 2014 08:30:09 +0000 (16:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Jul 2014 22:54:10 +0000 (16:54 -0600)
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>
drivers/pci/msi.c

index ba84f17d8062b181ac9b2608a132f398ba9ef723..9c6995043fff2e588ada7d4afe3020942ed0308b 100644 (file)
@@ -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