OSDN Git Service

PCI: Remove unused and broken to_hotplug_slot()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Wed, 12 Nov 2014 02:43:52 +0000 (13:43 +1100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 13 Nov 2014 17:35:25 +0000 (10:35 -0700)
commita4acded086c4320bc58bd59ea746fd19de6dabb0
tree0f3bf00b7dec80dca10bc3b5b6fd85651ac64a67
parentf114040e3ea6e07372334ade75d1ee0775c355e1
PCI: Remove unused and broken to_hotplug_slot()

to_hotplug_slot() is unused and wouldn't work anyway, because struct
hotplug_slot no longer contains a struct kobject (it was removed by
f46753c5e354 ("PCI: introduce pci_slot")).

Remove to_hotplug_slot().

[bhelgaas: changelog]
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci_hotplug.h