* [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node'
@ 2024-05-09 0:08 linux
2024-05-09 10:57 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: linux @ 2024-05-09 0:08 UTC (permalink / raw)
To: bhelgaas, rafael
Cc: linux-pci, linux-acpi, linux-kernel, Dr. David Alan Gilbert
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>
---
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
--
2.45.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node'
2024-05-09 0:08 [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node' linux
@ 2024-05-09 10:57 ` Jonathan Cameron
2024-05-23 15:10 ` Dr. David Alan Gilbert
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2024-05-09 10:57 UTC (permalink / raw)
To: linux; +Cc: bhelgaas, rafael, linux-pci, linux-acpi, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node'
2024-05-09 10:57 ` Jonathan Cameron
@ 2024-05-23 15:10 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2024-05-23 15:10 UTC (permalink / raw)
To: Jonathan Cameron; +Cc: bhelgaas, rafael, linux-pci, linux-acpi, linux-kernel
* Jonathan Cameron (Jonathan.Cameron@Huawei.com) wrote:
> 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>
Thanks; any idea who would pick this up?
Dave
> > ---
> > 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
>
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-23 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-09 0:08 [PATCH] ACPI: PCI: Remove unused struct 'acpi_handle_node' linux
2024-05-09 10:57 ` Jonathan Cameron
2024-05-23 15:10 ` Dr. David Alan Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).