]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
platform-msi: Do not cache msi_desc in handler_data
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 13 Sep 2015 12:37:03 +0000 (13:37 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 15 Sep 2015 15:06:29 +0000 (17:06 +0200)
commite4084a16bbe07957811c75dfb7c9bf25c5862ba0
tree27e2f10d7ec89ef9da3354626429305500a66642
parentdc2ec62f75fd9be78d07b3b453aeb0d201ead419
platform-msi: Do not cache msi_desc in handler_data

The current implementation of platform MSI caches the msi_desc
pointer in irq_data::handler_data. This is a bit silly, as
we also have irq_data::msi_desc, which is perfectly valid.

Remove the useless assignment and simplify the whole flow.

Reported-by: Ma Jun <majun258@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Jiang Liu <jiang.liu@linux.intel.com>
Link: http://lkml.kernel.org/r/1442147824-20971-1-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/base/platform-msi.c