diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-12-06 23:27:56 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-09 11:52:22 +0100 |
commit | cd119b09a87d8beb50356d8c5c6aa42d89c44eb7 (patch) | |
tree | 5dc69a57a8a6d5a47b4a9e410b1f9ae620944e13 /drivers/base | |
parent | 85aa607e79f8343f1ea028b29bdf8b6bc99c729a (diff) | |
download | linux-stable-cd119b09a87d8beb50356d8c5c6aa42d89c44eb7.tar.gz linux-stable-cd119b09a87d8beb50356d8c5c6aa42d89c44eb7.tar.bz2 linux-stable-cd119b09a87d8beb50356d8c5c6aa42d89c44eb7.zip |
PCI/MSI: Move msi_lock to struct pci_dev
It's only required for PCI/MSI. So no point in having it in every struct
device.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20211206210224.925241961@linutronix.de
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index fd034d742447..f26c668092d6 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -2875,7 +2875,6 @@ void device_initialize(struct device *dev) device_pm_init(dev); set_dev_node(dev, NUMA_NO_NODE); #ifdef CONFIG_GENERIC_MSI_IRQ - raw_spin_lock_init(&dev->msi_lock); INIT_LIST_HEAD(&dev->msi_list); #endif INIT_LIST_HEAD(&dev->links.consumers); |