ACPI: PCI: Remove unused struct 'acpi_handle_node'
authorDr. David Alan Gilbert <linux@treblig.org>
Thu, 9 May 2024 00:08:58 +0000 (01:08 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Jun 2024 19:54:43 +0000 (14:54 -0500)
'acpi_handle_node' is unused since 63f534b8bad9 ("ACPI: PCI: Rework
acpi_get_pci_dev()"). Remove it.

Link: https://lore.kernel.org/r/20240509000858.204114-1-linux@treblig.org
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/acpi/pci_root.c

index 58b89b8d950ed7a83bedd06087000104956030a3..59e6955e24edb38a5cfeba936618062df4a57456 100644 (file)
@@ -293,11 +293,6 @@ struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle)
 }
 EXPORT_SYMBOL_GPL(acpi_pci_find_root);
 
-struct acpi_handle_node {
-       struct list_head node;
-       acpi_handle handle;
-};
-
 /**
  * acpi_get_pci_dev - convert ACPI CA handle to struct pci_dev
  * @handle: the handle in question