diff options
author | 2024-10-14 10:19:17 -0300 | |
---|---|---|
committer | 2024-10-18 18:31:52 -0500 | |
commit | 5b036cada481a7a3bf30d333298f6d83dfb19bed (patch) | |
tree | 21281c82fe6dde28f6fdbb430056f3e38fee3692 | |
parent | Linux 6.12-rc1 (diff) | |
download | wireguard-linux-5b036cada481a7a3bf30d333298f6d83dfb19bed.tar.xz wireguard-linux-5b036cada481a7a3bf30d333298f6d83dfb19bed.zip |
PCI: cpcihp: Remove unused struct cpci_hp_controller_ops.hardware_test
The 'hardware_test' field in struct cpci_hp_controller_ops is unused;
remove it to reduce resource consumption.
Link: https://lore.kernel.org/r/20241014131917.324667-1-trintaeoitogc@gmail.com
Signed-off-by: Guilherme Giacomo Simoes <trintaeoitogc@gmail.com>
[bhelgas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | drivers/pci/hotplug/cpci_hotplug.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpci_hotplug.h b/drivers/pci/hotplug/cpci_hotplug.h index 6d8970d8c3f2..03fa39ab0c88 100644 --- a/drivers/pci/hotplug/cpci_hotplug.h +++ b/drivers/pci/hotplug/cpci_hotplug.h @@ -44,7 +44,6 @@ struct cpci_hp_controller_ops { int (*enable_irq)(void); int (*disable_irq)(void); int (*check_irq)(void *dev_id); - int (*hardware_test)(struct slot *slot, u32 value); u8 (*get_power)(struct slot *slot); int (*set_power)(struct slot *slot, int value); }; |