From 7435e254d401e2b3bc78756f65e3d0f1b2ce61e2 Mon Sep 17 00:00:00 2001 From: Jakub Czapiga Date: Fri, 22 Jan 2021 15:47:11 +0100 Subject: acpi/acpigen.c: Remove unused and incorrect functions acpigen_write_name_zero() and acpigen_write_name_one() are not implemented correctly, and are not used anywhere. Drop them in favor of the more flexible acpigen_write_name_integer() function. Signed-off-by: Jakub Czapiga Change-Id: I116fd41624a8e8b536d18d747f21d3131b734dfc Reviewed-on: https://review.coreboot.org/c/coreboot/+/49834 Tested-by: build bot (Jenkins) Reviewed-by: Duncan Laurie Reviewed-by: Lance Zhao Reviewed-by: Angel Pons --- src/include/acpi/acpigen.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/include/acpi') diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index 15af0192a3..7b1141c908 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -312,8 +312,6 @@ void acpigen_write_integer(uint64_t data); void acpigen_write_string(const char *string); void acpigen_write_name_unicode(const char *name, const char *string); void acpigen_write_name(const char *name); -void acpigen_write_name_zero(const char *name); -void acpigen_write_name_one(const char *name); void acpigen_write_name_string(const char *name, const char *string); void acpigen_write_name_dword(const char *name, uint32_t val); void acpigen_write_name_qword(const char *name, uint64_t val); -- cgit v1.2.3