public inbox for linux-pci@vger.kernel.org
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: linux-pci@vger.kernel.org
Subject: [PATCH 0/5] PCI hotplug cleanups
Date: Tue, 25 Feb 2025 18:06:00 +0100	[thread overview]
Message-ID: <cover.1740501868.git.lukas@wunner.de> (raw)

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


             reply	other threads:[~2025-02-25 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-25 17:06 Lukas Wunner [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1740501868.git.lukas@wunner.de \
    --to=lukas@wunner.de \
    --cc=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox