Skip to content

Commit 1f57e6a

Browse files
Erik Kanedarafaeljw
authored andcommitted
ACPICA: ASL-ASL+ converter: remove function parameters from cv_init_file_tree()
ACPICA commit 3ba6fa55a4a32d8b6fc28f9f285506ea0e359296 These parameters can be computed inside of the function from the Table parameter. Link: acpica/acpica@3ba6fa55 Signed-off-by: Erik Kaneda <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4e03e4e commit 1f57e6a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

drivers/acpi/acpica/acconvert.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ void cg_write_aml_comment(union acpi_parse_object *op);
6565
/*
6666
* cvparser
6767
*/
68-
void
69-
cv_init_file_tree(struct acpi_table_header *table,
70-
u8 *aml_start, u32 aml_length);
68+
void cv_init_file_tree(struct acpi_table_header *table);
7169

7270
void cv_clear_op_comments(union acpi_parse_object *op);
7371

drivers/acpi/acpica/acmacros.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@
477477
#define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d) cv_print_one_comment_type (a,b,c,d);
478478
#define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b) cv_print_one_comment_list (a,b);
479479
#define ASL_CV_FILE_HAS_SWITCHED(a) cv_file_has_switched(a)
480-
#define ASL_CV_INIT_FILETREE(a,b,c) cv_init_file_tree(a,b,c);
480+
#define ASL_CV_INIT_FILETREE(a) cv_init_file_tree(a);
481481

482482
#else
483483

@@ -492,7 +492,7 @@
492492
#define ASL_CV_PRINT_ONE_COMMENT(a,b,c,d)
493493
#define ASL_CV_PRINT_ONE_COMMENT_LIST(a,b)
494494
#define ASL_CV_FILE_HAS_SWITCHED(a) 0
495-
#define ASL_CV_INIT_FILETREE(a,b,c)
495+
#define ASL_CV_INIT_FILETREE(a)
496496

497497
#endif
498498

0 commit comments

Comments
 (0)