Skip to content

Commit

Permalink
PCI/MSI: Remove unused msi_enabled_mask()
Browse files Browse the repository at this point in the history
No one uses msi_enabled_mask(); remove the dead code.  No functional
change.

Signed-off-by: Yijing Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
  • Loading branch information
YijingWang authored and bjorn-helgaas committed Jul 3, 2014
1 parent 66f0d0c commit 199596e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/pci/msi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 199596e

Please sign in to comment.