]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hotplug: Delete skeleton driver
authorLukas Wunner <lukas@wunner.de>
Tue, 19 Jun 2018 14:26:50 +0000 (16:26 +0200)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 23 Jul 2018 22:04:10 +0000 (17:04 -0500)
commit10e7b85583ef10aeaddbae7bc386e497ea0ed6ab
tree087fadb761e2aa051865a72e2c72e29bfdbcfe90
parent868594935b4427e4a696ad928b05f4df6ef2e565
PCI: hotplug: Delete skeleton driver

Ten years ago, commit 9b35690095bb ("PCI: Hotplug core: remove 'name'")
dropped the name element from struct hotplug_slot but neglected to update
the skeleton driver.

That same year, commit b58916f81c31 ("PCI: introduce pci_slot") raised the
number of arguments to pci_hp_register() from one to four.

Fourteen years ago, historic commit 7ab60fc1b8e7 ("PCI Hotplug skeleton:
final cleanups") removed all usages of the retval variable from
pcihp_skel_init() but not the variable itself, provoking a compiler
warning: https://git.kernel.org/tglx/history/c/7ab60fc1b8e7

It seems fair to assume the driver hasn't been used as a template for a new
driver in a while.  Per Bjorn's and Christoph's preference, delete it.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Christoph Hellwig <hch@lst.de>
drivers/pci/hotplug/pcihp_skeleton.c [deleted file]