summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2014-09-23 13:27:25 +0800
committerBjorn Helgaas <bhelgaas@google.com>2014-10-01 12:21:23 -0600
commit2b260085e466c345e78f23b1c9ad1d123d509ef8 (patch)
tree2ddff27e073ec8620139ca17b83c10ccf823c453 /virt
parent468ff15a3ab98ed7153c29c68229ffb97f15a251 (diff)
downloadtalos-op-linux-2b260085e466c345e78f23b1c9ad1d123d509ef8.tar.gz
talos-op-linux-2b260085e466c345e78f23b1c9ad1d123d509ef8.zip
PCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg()
Both callers of get_cached_msi_msg() start with a struct irq_data pointer, look up the corresponding IRQ number, and pass it to get_cached_msi_msg(), which then uses irq_get_irq_data() to look up the struct irq_data again to call __get_cached_msi_msg(). Since we already have the struct irq_data, call __get_cached_msi_msg() directly and skip the lookup work done by get_cached_msi_msg(). No functional change. [bhelgaas: changelog] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> CC: Tony Luck <tony.luck@intel.com> CC: linux-ia64@vger.kernel.org
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud