On Tue, Feb 25, 2025 at 06:06:00PM +0100, Lukas Wunner wrote: > 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(-) Applied to pci/hotplug for v6.15, thanks!