lkml.org 
[lkml]   [2024]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node'
On Thu,  9 May 2024 01:08:58 +0100
linux@treblig.org wrote:

> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 'acpi_handle_node' is unused since
> Commit 63f534b8bad9 ("ACPI: PCI: Rework acpi_get_pci_dev()")
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

FWIW, indeed unused.

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> ---
> drivers/acpi/pci_root.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
> index 58b89b8d950ed..59e6955e24edb 100644
> --- a/drivers/acpi/pci_root.c
> +++ b/drivers/acpi/pci_root.c
> @@ -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


\
 
 \ /
  Last update: 2024-05-09 12:58    [W:0.035 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site