From 2df59b2bd4bf0dee0884fc774591eedd232141e6 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Mon, 4 Apr 2022 14:43:51 -0400 Subject: Remove duplication of table_compute_checksum function It seems like there was some merge error when first cleaning up and sharing this function. We have both an inline version of the function in include/tables_csum.h and a non-inline version in lib/tables_csum.c. Rework things so that we only have the non-inline version (due to number of calls, we should not inline this). Fixes: 1befb38b8682 ("x86: Move table csum into separate file") Fixes: 2b445e4d3194 ("x86: Move table csum into separate header") Cc: Alexander Graf Signed-off-by: Tom Rini --- drivers/misc/qfw.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers') diff --git a/drivers/misc/qfw.c b/drivers/misc/qfw.c index 677841aac5e..1d54b7542b8 100644 --- a/drivers/misc/qfw.c +++ b/drivers/misc/qfw.c @@ -15,9 +15,6 @@ #include #include #include -#ifdef CONFIG_GENERATE_ACPI_TABLE -#include -#endif #if defined(CONFIG_GENERATE_ACPI_TABLE) && !defined(CONFIG_SANDBOX) /* -- cgit v1.2.3