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/[email protected]
Signed-off-by: Guilherme Giacomo Simoes <[email protected]>
[bhelgas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
Guilherme Giacomo Simoes authored and Bjorn Helgaas committed 2024-10-18 18:31:52 -05:00
1 parent 9852d85ec9
commit 5b036cada4
1 file changed
-1
-1
View File
@@ -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);
};