PCI: remove redundant __msi_set_enable()
authorMatthew Wilcox <matthew@wil.cx>
Tue, 16 Jun 2009 12:31:45 +0000 (06:31 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 18 Jun 2009 20:57:24 +0000 (13:57 -0700)
commit110828c9cdce6e8ec68479ced4ca0bdc1135bb91
tree6829824540b2047e275a557609606723a52eb429
parent7d9a73f6dcf4390d256bf19330c81e91523a26d5
PCI: remove redundant __msi_set_enable()

We have the 'pos' of the MSI capability at all locations which call
msi_set_enable(), so pass it to msi_set_enable() instead of making it
find the capability every time.

Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c