From patchwork Fri Feb 19 23:39:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 62437 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp78764lbl; Fri, 19 Feb 2016 15:41:24 -0800 (PST) X-Received: by 10.202.93.8 with SMTP id r8mr13462663oib.111.1455925284290; Fri, 19 Feb 2016 15:41:24 -0800 (PST) Return-Path: Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com. [2607:f8b0:4003:c01::234]) by mx.google.com with ESMTPS id dp7si7339289obb.40.2016.02.19.15.41.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 15:41:24 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::234 as permitted sender) client-ip=2607:f8b0:4003:c01::234; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::234 as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x234.google.com with SMTP id xk3so124293802obc.2 for ; Fri, 19 Feb 2016 15:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=T4YkVlXfiIIGDtdMFKz/k+poPWmKAwTaARApTnvVbS8=; b=bwtbPvTNmLLUdq3fO/S5FEve1zNHoGaUvhSd75tM4t5hL8/KB0oHCB48o6uVdPh3eK ATItirwv30K76a3P3LcxmcsJ3hobSu4tcBW3KsOdJ//L3k4vg/fo6Z1ICsMwNaLYt9kt xoMzdXuYpRZ0hUqbUGdmgpjj861vV3Jzl86bQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=T4YkVlXfiIIGDtdMFKz/k+poPWmKAwTaARApTnvVbS8=; b=YsnlG8+s+uYG7wR8kYKYVuMtfWRjyrBcQpPPjY3XocNfuxNPiTNYocrnB82fhn0Hoz cta/yPDoQhFUUH5Bf+DfWide7gPemzn7H++UX78pBMa67fxSuURpChUM9mcrR9bDJ/Mr RgkXRFlrHP61kf5vu+gKwYX9tCMN5dByxYdDQT699GRudqJHC5sbHBa4VS1NHNLsqjCk kNyjInSo/kHG8leVctcm5wwriv1GPCKW4bEQ2HtB11sTuGaQy2XnjYYIvFZCWEGpldk4 hkNZyrr0Z2lgvH+DTA7S2zJXcJU5nbrKcY7qb1Sx0mxqJg5cg4r/Lp9ML79x4ZtB7lOa zkDw== X-Gm-Message-State: AG10YOSs2UhxHlJpvEevsFdEr6zZiK1Vb5hxQGlC+qrFEGxiyLGXZHzPXK1T0rXe44aJ74Hjwuk= X-Received: by 10.182.48.130 with SMTP id l2mr14751127obn.49.1455925284000; Fri, 19 Feb 2016 15:41:24 -0800 (PST) Return-Path: Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id kg7sm8655217obb.27.2016.02.19.15.41.22 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Feb 2016 15:41:22 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH v2 21/23] FADT: remove no longer useful variables from test1 Date: Fri, 19 Feb 2016 16:39:57 -0700 Message-Id: <1455925199-8587-22-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455925199-8587-1-git-send-email-al.stone@linaro.org> References: <1455925199-8587-1-git-send-email-al.stone@linaro.org> Now that the tests have been resequenced, added to, and generally overhauled, clean up some variables in test1 that are no longer useful. Signed-off-by: Al Stone Acked-by: Colin Ian King Acked-by: Alex Hung --- src/acpi/fadt/fadt.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.5.0 diff --git a/src/acpi/fadt/fadt.c b/src/acpi/fadt/fadt.c index 70b6c8a..40a0028 100644 --- a/src/acpi/fadt/fadt.c +++ b/src/acpi/fadt/fadt.c @@ -1537,8 +1537,6 @@ static void acpi_table_check_fadt_sleep_status_reg(fwts_framework *fw) static int fadt_test1(fwts_framework *fw) { - bool passed = true; - acpi_table_check_fadt_firmware_ctrl(fw); acpi_table_check_fadt_dsdt(fw); acpi_table_check_fadt_reserved(fw); @@ -1612,8 +1610,6 @@ static int fadt_test1(fwts_framework *fw) */ fwts_log_info(fw, "FADT Hypervisor Vendor Identity is %" PRIu64, fadt->hypervisor_id); - if (passed) - fwts_passed(fw, "No issues found in FADT table."); return FWTS_OK; }