Skip to content

PCI hotplug cleanups

Lukas Wunner linux-pci 1 version Applied

Status from this message: Applied to pci/hotplug for v6.15, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5PCI: hotplug: Drop superfluous pci_hotplug_slot_listdrivers/pci/hotplug/pci_hotplug_core.c include/linux/pci_hotplug.h+0 -340 replies
2/5PCI: hotplug: Drop superfluous try_module_get() callsdrivers/pci/hotplug/pci_hotplug_core.c+1 -220 replies
3/5PCI: hotplug: Drop superfluous NULL pointer checks in has_*_file()drivers/pci/hotplug/pci_hotplug_core.c drivers/pci/slot.c+6 -130 replies
4/5PCI: hotplug: Avoid backpointer dereferencing in has_*_file()drivers/pci/hotplug/pci_hotplug_core.c+23 -330 replies
5/5PCI: hotplug: Inline pci_hp_{create,remove}_module_link()drivers/pci/hotplug/pci_hotplug_core.c drivers/pci/slot.c include/linux/pci.h+11 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] PCI hotplug cleanups

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(-)
Signature · 1 line
2.43.0