Re: [PATCH] acpi: remove unused LIST_HEAD(acpi_device_list)

Rafael J. Wysocki
2013-07-04T12:41:14Z

On Thursday, July 04, 2013 12:07:11 PM Haicheng Li wrote:
> acpi_device_list is not used by acpi code anymore, could be removed.
>
> Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>

OK, applied.

Thanks,
Rafael

> ---
> drivers/acpi/scan.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
> index 27da630..fcc0cdc 100644
> --- a/drivers/acpi/scan.c
> +++ b/drivers/acpi/scan.c
> @@ -29,7 +29,6 @@ extern struct acpi_device *acpi_root;
>
> static const char *dummy_hid = "device";
>
> -static LIST_HEAD(acpi_device_list);
> static LIST_HEAD(acpi_bus_id_list);
> static DEFINE_MUTEX(acpi_scan_lock);
> static LIST_HEAD(acpi_scan_handlers_list);
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.