Skip to content

Commit 5b036ca

Browse files
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>
1 parent 9852d85 commit 5b036ca

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/pci/hotplug/cpci_hotplug.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ struct cpci_hp_controller_ops {
4444
int (*enable_irq)(void);
4545
int (*disable_irq)(void);
4646
int (*check_irq)(void *dev_id);
47-
int (*hardware_test)(struct slot *slot, u32 value);
4847
u8 (*get_power)(struct slot *slot);
4948
int (*set_power)(struct slot *slot, int value);
5049
};

0 commit comments

Comments
 (0)