From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753129AbdDKDmH (ORCPT ); Mon, 10 Apr 2017 23:42:07 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:20229 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752108AbdDKDmE (ORCPT ); Mon, 10 Apr 2017 23:42:04 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="17588400" Subject: Re: [PATCH] acpi: drop useless function To: , "Rafael J. Wysocki" References: <1491879441-32276-1-git-send-email-caoj.fnst@cn.fujitsu.com> <58EC4747.8030804@cn.fujitsu.com> CC: , , From: Cao jin Message-ID: <58EC52CA.70503@cn.fujitsu.com> Date: Tue, 11 Apr 2017 11:51:38 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <58EC4747.8030804@cn.fujitsu.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.167.226.69] X-yoursite-MailScanner-ID: 9FF1247CE222.A6AC2 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: caoj.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >> --- >> 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