public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] PCI hotplug cleanups
@ 2025-02-25 17:06 Lukas Wunner
  2025-02-25 17:06 ` [PATCH 1/5] PCI: hotplug: Drop superfluous pci_hotplug_slot_list Lukas Wunner
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Lukas Wunner @ 2025-02-25 17:06 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci

Here's a collection of cleanups for the PCI hotplug core.
None of them should result in a behavioral change.
Just removal and untangling of ancient, unnecessary code.

Lukas Wunner (5):
  PCI: hotplug: Drop superfluous pci_hotplug_slot_list
  PCI: hotplug: Drop superfluous try_module_get() calls
  PCI: hotplug: Drop superfluous NULL pointer checks in has_*_file()
  PCI: hotplug: Avoid backpointer dereferencing in has_*_file()
  PCI: hotplug: Inline pci_hp_{create,remove}_module_link()

 drivers/pci/hotplug/pci_hotplug_core.c | 142 +++++++------------------
 drivers/pci/slot.c                     |  44 --------
 include/linux/pci.h                    |   5 -
 include/linux/pci_hotplug.h            |   2 -
 4 files changed, 41 insertions(+), 152 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-04 23:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-25 17:06 [PATCH 0/5] PCI hotplug cleanups Lukas Wunner
2025-02-25 17:06 ` [PATCH 1/5] PCI: hotplug: Drop superfluous pci_hotplug_slot_list Lukas Wunner
2025-02-25 17:06 ` [PATCH 2/5] PCI: hotplug: Drop superfluous try_module_get() calls Lukas Wunner
2025-02-25 17:06 ` [PATCH 3/5] PCI: hotplug: Drop superfluous NULL pointer checks in has_*_file() Lukas Wunner
2025-02-25 17:06 ` [PATCH 4/5] PCI: hotplug: Avoid backpointer dereferencing " Lukas Wunner
2025-02-25 17:06 ` [PATCH 5/5] PCI: hotplug: Inline pci_hp_{create,remove}_module_link() Lukas Wunner
2025-03-04 23:02 ` [PATCH 0/5] PCI hotplug cleanups Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox