aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/ibmphp.h
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2018-08-19 14:29:00 +0000
committerBjorn Helgaas <[email protected]>2018-09-17 21:34:36 +0000
commiteee6e273843dc3084c15efc98a78702ac9a4c69b (patch)
treed47be1a16667fd37e921330090d3e16470aa7d0d /drivers/pci/hotplug/ibmphp.h
parentPCI: pciehp: Drop unnecessary includes (diff)
downloadkernel-eee6e273843dc3084c15efc98a78702ac9a4c69b.tar.gz
kernel-eee6e273843dc3084c15efc98a78702ac9a4c69b.zip
PCI: pciehp: Drop hotplug_slot_ops wrappers
pciehp's ->enable_slot, ->disable_slot, ->get_attention_status and ->reset_slot callbacks are currently implemented by wrapper functions that do nothing else but call down to a backend function. The backends are not called from anywhere else, so drop the wrappers and use the backends directly as callbacks, thereby shaving off a few lines of unnecessary code. No functional change intended. Signed-off-by: Lukas Wunner <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
0 files changed, 0 insertions, 0 deletions