diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-06 23:51:04 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-16 22:22:16 +0100 |
commit | 125282cd4f33ecd53a24ae4807409da0e5e90fd4 (patch) | |
tree | 78038c05146e206da2db48be3456342eef080f36 /drivers/base | |
parent | 1900c962e2dcfacec894558eb34971bdc9c67443 (diff) | |
download | linux-stable-125282cd4f33ecd53a24ae4807409da0e5e90fd4.tar.gz linux-stable-125282cd4f33ecd53a24ae4807409da0e5e90fd4.tar.bz2 linux-stable-125282cd4f33ecd53a24ae4807409da0e5e90fd4.zip |
genirq/msi: Move descriptor list to struct msi_device_data
It's only required when MSI is in use.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Michael Kelley <mikelley@microsoft.com>
Tested-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20211206210747.650487479@linutronix.de
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index f26c668092d6..f8987867789f 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -2874,9 +2874,6 @@ void device_initialize(struct device *dev) INIT_LIST_HEAD(&dev->devres_head); device_pm_init(dev); set_dev_node(dev, NUMA_NO_NODE); -#ifdef CONFIG_GENERIC_MSI_IRQ - INIT_LIST_HEAD(&dev->msi_list); -#endif INIT_LIST_HEAD(&dev->links.consumers); INIT_LIST_HEAD(&dev->links.suppliers); INIT_LIST_HEAD(&dev->links.defer_sync); |