diff mbox

[v2] ACPI / PCI: remove stale list_head in struct acpi_prt_entry

Message ID 1432222166-9198-1-git-send-email-hanjun.guo@linaro.org (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Hanjun Guo May 21, 2015, 3:29 p.m. UTC
list_head "list" in struct acpi_prt_entry was used to connect
_PRT entries for PCI irq, but after commit 181380b702ee ("PCI/ACPI:
Don't cache _PRT, and don't associate them with bus numbers"),
the list head for _PRT entries was removed, but left "list" in
struct acpi_prt_entry which is useless and stale, remove it now.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Yinghai Lu <yinghai@kernel.org>
CC: Yijing Wang <wangyijing@huawei.com>
---

v2:
use the canonical commit reference format as Bjorn suggested.

 drivers/acpi/pci_irq.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Rafael J. Wysocki May 22, 2015, 2:06 a.m. UTC | #1
On Thursday, May 21, 2015 11:29:26 PM Hanjun Guo wrote:
> list_head "list" in struct acpi_prt_entry was used to connect
> _PRT entries for PCI irq, but after commit 181380b702ee ("PCI/ACPI:
> Don't cache _PRT, and don't associate them with bus numbers"),
> the list head for _PRT entries was removed, but left "list" in
> struct acpi_prt_entry which is useless and stale, remove it now.
> 
> Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> CC: Yinghai Lu <yinghai@kernel.org>
> CC: Yijing Wang <wangyijing@huawei.com>
> ---
> 
> v2:
> use the canonical commit reference format as Bjorn suggested.

Queued up for 4.2, thanks!

>  drivers/acpi/pci_irq.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
> index b1def41..03e4b6c 100644
> --- a/drivers/acpi/pci_irq.c
> +++ b/drivers/acpi/pci_irq.c
> @@ -44,7 +44,6 @@
>  ACPI_MODULE_NAME("pci_irq");
>  
>  struct acpi_prt_entry {
> -	struct list_head	list;
>  	struct acpi_pci_id	id;
>  	u8			pin;
>  	acpi_handle		link;
>
diff mbox

Patch

diff --git a/drivers/acpi/pci_irq.c b/drivers/acpi/pci_irq.c
index b1def41..03e4b6c 100644
--- a/drivers/acpi/pci_irq.c
+++ b/drivers/acpi/pci_irq.c
@@ -44,7 +44,6 @@ 
 ACPI_MODULE_NAME("pci_irq");
 
 struct acpi_prt_entry {
-	struct list_head	list;
 	struct acpi_pci_id	id;
 	u8			pin;
 	acpi_handle		link;