From patchwork Tue Feb 9 01:33:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 61474 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1766936lbl; Mon, 8 Feb 2016 17:34:29 -0800 (PST) X-Received: by 10.182.225.132 with SMTP id rk4mr27728293obc.68.1454981658841; Mon, 08 Feb 2016 17:34:18 -0800 (PST) Return-Path: Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com. [2607:f8b0:4003:c01::233]) by mx.google.com with ESMTPS id nw4si18787746obc.69.2016.02.08.17.34.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 17:34:18 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::233 as permitted sender) client-ip=2607:f8b0:4003:c01::233; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::233 as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x233.google.com with SMTP id is5so172600238obc.0 for ; Mon, 08 Feb 2016 17:34:18 -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=98Ihq2d710BICVREA9SCRmmmhzVyuONhU5B97xMARoM=; b=NngKiZLCOPCkbNCcqimrpeoFNc7cjK+H9MkEjqVDC8Vd9B5tLf2zyXQN/UPmRqtMsQ JMZ0xfJX3OLdTKhMPY8rmd5HqNtvLJjsm8+ZVmw4vaCTLj132iWMhzr3kGFGYHPGYdPI /oV//XjM+waMiCMyDLKI4XMqkf1uGCkqCWtrk= 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=98Ihq2d710BICVREA9SCRmmmhzVyuONhU5B97xMARoM=; b=XyBonw+caR/fafAs9rN4s2IOS+8ZPHqjDNfnvNNAvxFn7h53msT+aSE/fZdj2t6ALJ 5l2hp0JgiXh0NLt/HW4EMTOvtTyKgKARQ218HsTou5p9UMF2Q4rC0YBA0PJR4V6MicDN inBIaMAfgnCRHylxKn/aT3TvyxV2dm2x0g2X7ETJPBMduBIdbbZWZ3fbPydG0Fb8dFK7 9isV6529ao8ZQxvdWdHxR5VoyZsRJW56r0a6ZRaURfFa5LOnvh92Sts9yYFs+09BfQ5J WIv9vu9hC4EdJs/DJe4ZheeQhiCQSybqgMfeNl6uwNnZycaLUiEP3DameRLLLmHiULgM cq3Q== X-Gm-Message-State: AG10YOQZKuCY7RQZJQCNHvNtnMgttdrYmqIjKXyVt0idldabSbnq6fAunEGtl9T9B2lRgVPpwdo= X-Received: by 10.60.140.129 with SMTP id rg1mr28083929oeb.25.1454981658562; Mon, 08 Feb 2016 17:34:18 -0800 (PST) Return-Path: Received: from fidelio.ahs3 (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id qp4sm19097135obc.9.2016.02.08.17.34.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 17:34:17 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH 21/21] FADT: remove no longer useful variables from test1 Date: Mon, 8 Feb 2016 18:33:03 -0700 Message-Id: <1454981583-31872-22-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454981583-31872-1-git-send-email-al.stone@linaro.org> References: <1454981583-31872-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 --- 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 05205cb..fbc71fd 100644 --- a/src/acpi/fadt/fadt.c +++ b/src/acpi/fadt/fadt.c @@ -1514,8 +1514,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); @@ -1589,8 +1587,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; }