From patchwork Sun Oct 14 20:32:12 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 191407 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 8D5F72C008A for ; Mon, 15 Oct 2012 07:32:33 +1100 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TNUrQ-0006Co-B7; Sun, 14 Oct 2012 20:32:32 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TNUrN-0006Bd-Sj for fwts-devel@lists.ubuntu.com; Sun, 14 Oct 2012 20:32:29 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TNUrN-0003sX-N4 for fwts-devel@lists.ubuntu.com; Sun, 14 Oct 2012 20:32:29 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 20/26] pci: aspm: remove redundant parameter in pcie_check_aspm_registers Date: Sun, 14 Oct 2012 21:32:12 +0100 Message-Id: <1350246738-31699-21-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1350246738-31699-1-git-send-email-colin.king@canonical.com> References: <1350246738-31699-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Function pcie_check_aspm_registers has an unused redundant parameter for the log level, so remove it. Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- src/pci/aspm/aspm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pci/aspm/aspm.c b/src/pci/aspm/aspm.c index 4211672..e6d91ca 100644 --- a/src/pci/aspm/aspm.c +++ b/src/pci/aspm/aspm.c @@ -222,8 +222,7 @@ static void pci_device_list_free(struct pci_device *head) } } -static int pcie_check_aspm_registers(fwts_framework *fw, - const fwts_log_level level) +static int pcie_check_aspm_registers(fwts_framework *fw) { fwts_list *lspci_output; fwts_list_link *item; @@ -338,7 +337,7 @@ static int aspm_check_configuration(fwts_framework *fw) static int aspm_pcie_register_configuration(fwts_framework *fw) { - return pcie_check_aspm_registers(fw, LOG_LEVEL_HIGH); + return pcie_check_aspm_registers(fw); } static fwts_framework_minor_test aspm_tests[] = {