[PATCH v2 06/23] FADT: move log info out of test2, will provide it elsewhere

Al Stone al.stone at linaro.org
Fri Feb 19 23:39:42 UTC 2016


In subsequent patches, we will test the PM profile field explicitly,
so remove code to log the value from test2 and log it when we do the
direct testing of the value.

Signed-off-by: Al Stone <al.stone at linaro.org>
Acked-by: Colin Ian King <colin.king at canonical.com>
Acked-by: Alex Hung <alex.hung at canonical.com>
---
 src/acpi/fadt/fadt.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/acpi/fadt/fadt.c b/src/acpi/fadt/fadt.c
index 90f5d54..7ca351d 100644
--- a/src/acpi/fadt/fadt.c
+++ b/src/acpi/fadt/fadt.c
@@ -490,10 +490,6 @@ static int fadt_test2(fwts_framework *fw)
 	uint32_t port, width, val32;
 	int ret = FWTS_OK;
 
-	fwts_log_info(fw, "FADT Preferred PM Profile: %hhu (%s)\n",
-		fadt->preferred_pm_profile,
-		FWTS_ACPI_FADT_PREFERRED_PM_PROFILE(fadt->preferred_pm_profile));
-
 	if (fwts_acpi_is_reduced_hardware(fadt)) {
 		fwts_skipped(fw, "In reduced hardware mode, skipping test.");
 		return FWTS_OK;
-- 
2.5.0




More information about the fwts-devel mailing list