From: Yijing Wang Date: Tue, 23 Sep 2014 05:27:25 +0000 (+0800) Subject: PCI/MSI: Use __get_cached_msi_msg() instead of get_cached_msi_msg() X-Git-Tag: omap-for-v3.19/prcm-cleanup~136^2~4^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b260085e466c345e78f23b1c9ad1d123d509ef8;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas CC: Tony Luck CC: linux-ia64@vger.kernel.org --- Reading git-diff-tree failed