[PATCH 0/5] PCI hotplug cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux