diff options
author | Chris Li <chrisl@kernel.org> | 2025-06-17 16:57:30 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-06-18 20:50:04 +0200 |
commit | 4a089c0b3f55b400689a5c35f7dfa0a74c363dae (patch) | |
tree | 47e8c45a8332d177c49df50c3ccade4740379f96 /scripts/lib/kdoc/kdoc_output.py | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
PCI/MSI: Remove duplicated to_pci_dev() conversion
In pci_msi_update_mask(), "lock = &to_pci_dev()" does the to_pci_dev()
lookup, and there's another one buried inside msi_desc_to_pci_dev().
Introduce a local variable to remove that duplication.
Signed-off-by: Chris Li <chrisl@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/all/20250617-pci-msi-avoid-dup-pcidev-v1-1-ed75b0419023@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions