diff options
author | 2024-10-12 21:53:42 +0200 | |
---|---|---|
committer | 2024-10-18 18:31:52 -0500 | |
commit | 91a6296793591983f27db40f41daab53500ffc6e (patch) | |
tree | 61d1147478aa5ab191d31eab58c180681c4711ff | |
parent | PCI: cpcihp: Remove unused struct cpci_hp_controller_ops.hardware_test (diff) | |
download | wireguard-linux-91a6296793591983f27db40f41daab53500ffc6e.tar.xz wireguard-linux-91a6296793591983f27db40f41daab53500ffc6e.zip |
PCI: cpqphp: Remove unused struct ctrl_dbg.ctrl
'ctrl' is unused; remove it to save a few bytes when the structure is
allocated.
Link: https://lore.kernel.org/r/551d0cdaabcf69fcd09a565475c428e09c61e1a3.1728762751.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | drivers/pci/hotplug/cpqphp_sysfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpqphp_sysfs.c b/drivers/pci/hotplug/cpqphp_sysfs.c index fed1360ee9b1..6143ebf71f21 100644 --- a/drivers/pci/hotplug/cpqphp_sysfs.c +++ b/drivers/pci/hotplug/cpqphp_sysfs.c @@ -123,7 +123,6 @@ static int spew_debug_info(struct controller *ctrl, char *data, int size) struct ctrl_dbg { int size; char *data; - struct controller *ctrl; }; #define MAX_OUTPUT (4*PAGE_SIZE) |