From: Cao jin <caoj.fnst@cn.fujitsu.com>
To: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Cc: lenb@kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: Re: [PATCH] acpi: drop useless function
Date: Tue, 11 Apr 2017 11:02:31 +0800 [thread overview]
Message-ID: <58EC4747.8030804@cn.fujitsu.com> (raw)
In-Reply-To: <1491879441-32276-1-git-send-email-caoj.fnst@cn.fujitsu.com>
Re-CC RJW because wrong typing of the address
On 04/11/2017 10:57 AM, Cao jin wrote:
> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
> ---
> drivers/acpi/tables.c | 15 ---------------
> include/linux/acpi.h | 4 ----
> 2 files changed, 19 deletions(-)
>
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index 2604189..7885339 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -310,21 +310,6 @@ acpi_parse_entries_array(char *id, unsigned long table_size,
> return errs ? -EINVAL : count;
> }
>
> -int __init
> -acpi_parse_entries(char *id,
> - unsigned long table_size,
> - acpi_tbl_entry_handler handler,
> - struct acpi_table_header *table_header,
> - int entry_id, unsigned int max_entries)
> -{
> - struct acpi_subtable_proc proc = {
> - .id = entry_id,
> - .handler = handler,
> - };
> -
> - return acpi_parse_entries_array(id, table_size, table_header,
> - &proc, 1, max_entries);
> -}
>
> int __init
> acpi_table_parse_entries_array(char *id,
> diff --git a/include/linux/acpi.h b/include/linux/acpi.h
> index 9b05886..83abbfc 100644
> --- a/include/linux/acpi.h
> +++ b/include/linux/acpi.h
> @@ -233,10 +233,6 @@ int acpi_numa_init (void);
>
> int acpi_table_init (void);
> int acpi_table_parse(char *id, acpi_tbl_table_handler handler);
> -int __init acpi_parse_entries(char *id, unsigned long table_size,
> - acpi_tbl_entry_handler handler,
> - struct acpi_table_header *table_header,
> - int entry_id, unsigned int max_entries);
> int __init acpi_table_parse_entries(char *id, unsigned long table_size,
> int entry_id,
> acpi_tbl_entry_handler handler,
>
--
Sincerely,
Cao jin
WARNING: multiple messages have this Message-ID (diff)
From: Cao jin <caoj.fnst@cn.fujitsu.com>
To: <linux-kernel@vger.kernel.org>, <linux-acpi@vger.kernel.org>
Cc: <lenb@kernel.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: Re: [PATCH] acpi: drop useless function
Date: Tue, 11 Apr 2017 11:02:31 +0800 [thread overview]
Message-ID: <58EC4747.8030804@cn.fujitsu.com> (raw)
In-Reply-To: <1491879441-32276-1-git-send-email-caoj.fnst@cn.fujitsu.com>
Re-CC RJW because wrong typing of the address
On 04/11/2017 10:57 AM, Cao jin wrote:
> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
> ---
> drivers/acpi/tables.c | 15 ---------------
> include/linux/acpi.h | 4 ----
> 2 files changed, 19 deletions(-)
>
> diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c
> index 2604189..7885339 100644
> --- a/drivers/acpi/tables.c
> +++ b/drivers/acpi/tables.c
> @@ -310,21 +310,6 @@ acpi_parse_entries_array(char *id, unsigned long table_size,
> return errs ? -EINVAL : count;
> }
>
> -int __init
> -acpi_parse_entries(char *id,
> - unsigned long table_size,
> - acpi_tbl_entry_handler handler,
> - struct acpi_table_header *table_header,
> - int entry_id, unsigned int max_entries)
> -{
> - struct acpi_subtable_proc proc = {
> - .id = entry_id,
> - .handler = handler,
> - };
> -
> - return acpi_parse_entries_array(id, table_size, table_header,
> - &proc, 1, max_entries);
> -}
>
> int __init
> acpi_table_parse_entries_array(char *id,
> diff --git a/include/linux/acpi.h b/include/linux/acpi.h
> index 9b05886..83abbfc 100644
> --- a/include/linux/acpi.h
> +++ b/include/linux/acpi.h
> @@ -233,10 +233,6 @@ int acpi_numa_init (void);
>
> int acpi_table_init (void);
> int acpi_table_parse(char *id, acpi_tbl_table_handler handler);
> -int __init acpi_parse_entries(char *id, unsigned long table_size,
> - acpi_tbl_entry_handler handler,
> - struct acpi_table_header *table_header,
> - int entry_id, unsigned int max_entries);
> int __init acpi_table_parse_entries(char *id, unsigned long table_size,
> int entry_id,
> acpi_tbl_entry_handler handler,
>
--
Sincerely,
Cao jin
next prev parent reply other threads:[~2017-04-11 2:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 2:57 [PATCH] acpi: drop useless function Cao jin
2017-04-11 2:57 ` Cao jin
2017-04-11 3:02 ` Cao jin [this message]
2017-04-11 3:02 ` Cao jin
2017-04-11 3:51 ` Cao jin
2017-04-11 3:51 ` Cao jin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58EC4747.8030804@cn.fujitsu.com \
--to=caoj.fnst@cn.fujitsu.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.