Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1620839 > unrolled thread
| Started by | Cao jin <caoj.fnst@cn.fujitsu.com> |
|---|---|
| First post | 2017-04-11 04:50 +0200 |
| Last post | 2017-04-11 05:50 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH] acpi: drop useless function Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-11 04:50 +0200
Re: [PATCH] acpi: drop useless function Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-11 05:00 +0200
Re: [PATCH] acpi: drop useless function Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-11 05:50 +0200
| From | Cao jin <caoj.fnst@cn.fujitsu.com> |
|---|---|
| Date | 2017-04-11 04:50 +0200 |
| Subject | [PATCH] acpi: drop useless function |
| Message-ID | <tuU2t-12b-3@gated-at.bofh.it> |
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,
--
2.1.0
[toc] | [next] | [standalone]
| From | Cao jin <caoj.fnst@cn.fujitsu.com> |
|---|---|
| Date | 2017-04-11 05:00 +0200 |
| Message-ID | <tuUca-15U-19@gated-at.bofh.it> |
| In reply to | #1620839 |
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
[toc] | [prev] | [next] | [standalone]
| From | Cao jin <caoj.fnst@cn.fujitsu.com> |
|---|---|
| Date | 2017-04-11 05:50 +0200 |
| Message-ID | <tuUYy-1CP-13@gated-at.bofh.it> |
| In reply to | #1620846 |
Just saw Baoquan He sent the same patch several days before, so Baoquan
take the precedence:)
On 04/11/2017 11:02 AM, Cao jin wrote:
> 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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web