Commit 199596ef authored by Yijing Wang's avatar Yijing Wang Committed by Bjorn Helgaas

PCI/MSI: Remove unused msi_enabled_mask()

No one uses msi_enabled_mask(); remove the dead code.  No functional
change.
Signed-off-by: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 66f0d0c4
...@@ -172,11 +172,6 @@ static inline __attribute_const__ u32 msi_capable_mask(u16 control) ...@@ -172,11 +172,6 @@ static inline __attribute_const__ u32 msi_capable_mask(u16 control)
return msi_mask((control >> 1) & 7); 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 * 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 * mask all MSI interrupts by clearing the MSI enable bit does not work
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment