Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guilherme Giacomo Simoes and committed by
Bjorn Helgaas
5b036cad 9852d85e

-1
-1
drivers/pci/hotplug/cpci_hotplug.h
··· 44 44 int (*enable_irq)(void); 45 45 int (*disable_irq)(void); 46 46 int (*check_irq)(void *dev_id); 47 - int (*hardware_test)(struct slot *slot, u32 value); 48 47 u8 (*get_power)(struct slot *slot); 49 48 int (*set_power)(struct slot *slot, int value); 50 49 };