Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1788235pxf; Fri, 26 Mar 2021 15:04:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvq9YBpAUpLBgWky+YsMRH/PkfWe3Q1w7AXfzYQp3CiRkTeLz0075Oke6h0W4yy9IY8nR7 X-Received: by 2002:a17:906:4d94:: with SMTP id s20mr18055341eju.286.1616796245753; Fri, 26 Mar 2021 15:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616796245; cv=none; d=google.com; s=arc-20160816; b=xMIlFZHL/kMiK62jYn28Px1wtQexNyStC7UYWBFW44Hc3BvFAfE2l9DIg//LF/sEze O7jZA8RDOs1fOdhXHCS7sf9Aw/dEbK2mGNxPp9p+WTNKvzQc2Ol7FItiNnyVlPous04n 5b+ILSIOQtRyb03iH2JUKgA8hhJ6+Yft/oXGGGm9Dgq5rQR3SpzBOjW26xZr9HM6SCla ffh4zurrC41MF5Qyq4dcUjtrU5l64L1Gq7NSm6RbpXkHGNdo4Um4iP9UPCPmlTrlr5eK 2Giu+wNYdtJtzzqa0WsNl8mRW6TrVYdP15aqzaWYvFWxwS8thaJSdscNdAwK/WNroS+R HDnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=yr9BhcfViRVXE/Z+lXhTxLPmsfBEx6OW/R0zGuI6zZU=; b=PLRtbDSpOlzH9K4YWVCzQOP6lKthfq1u6e1tcCPj4v78u2jrYkQ+vJEx/v4GQYuf2h z4zbaz2yOrggzUcAgH+9/tOQ0lf/s7OJh1iF3JEeTDdg9GSnv3PMOMCXqjBzYaQRyD4a AvF3sSdnSY6/V2kI3vDqOWU3sPVN/w4WS3vZO3bRfUYbyvj0wEARHbsKO9qzkqIQVEE1 z1UFVuz+jP7WnFS7HKd8OwSRanvQ0EgziqlS9w2W+f/NH3kR5peOLumE5oNCaPY1oHNY vLv8X2mo+y12lvWp72w++62GYsarQQPm3EIWAM83QPfO+m7MXvqppLnzwJz0utzuDxXE abLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si1071921ede.383.2021.03.26.15.03.43; Fri, 26 Mar 2021 15:04:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbhCZWAw (ORCPT + 99 others); Fri, 26 Mar 2021 18:00:52 -0400 Received: from mga04.intel.com ([192.55.52.120]:61331 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbhCZWAS (ORCPT ); Fri, 26 Mar 2021 18:00:18 -0400 IronPort-SDR: tgDjlUKxqiWb+UA/Za2tn9Xm31NjnKHx0ZO+i5qvKogGzoSAleCrp0WCibgZFT/kmB3clMjtK1 vCLqPx+rNH2Q== X-IronPort-AV: E=McAfee;i="6000,8403,9935"; a="188957161" X-IronPort-AV: E=Sophos;i="5.81,281,1610438400"; d="scan'208";a="188957161" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 15:00:17 -0700 IronPort-SDR: L69N9VpMxxYFEMXkpmZM/AoW24ukbCE7ajCVSK54wsNGlrbfNhw4hIsTWntdYiyBR1RF8VVD1d SfVNsZVn7PwQ== X-IronPort-AV: E=Sophos;i="5.81,281,1610438400"; d="scan'208";a="416706915" Received: from zcmahone-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.255.231.203]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2021 15:00:16 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, linux-kernel@vger.kernel.org, Pierre-Louis Bossart , Peter Ujfalusi , Jarkko Nikula , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , linux-omap@vger.kernel.org (open list:OMAP AUDIO SUPPORT) Subject: [PATCH 14/17] ASoC: ti: omap-abe-twl6040: remove useless assignment Date: Fri, 26 Mar 2021 16:59:24 -0500 Message-Id: <20210326215927.936377-15-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210326215927.936377-1-pierre-louis.bossart@linux.intel.com> References: <20210326215927.936377-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cppcheck warning: sound/soc/ti/omap-abe-twl6040.c:173:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int ret = 0; ^ Signed-off-by: Pierre-Louis Bossart --- sound/soc/ti/omap-abe-twl6040.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/ti/omap-abe-twl6040.c b/sound/soc/ti/omap-abe-twl6040.c index 16ea039ff865..91cc9a4f44d7 100644 --- a/sound/soc/ti/omap-abe-twl6040.c +++ b/sound/soc/ti/omap-abe-twl6040.c @@ -170,7 +170,7 @@ static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd) struct snd_soc_card *card = rtd->card; struct abe_twl6040 *priv = snd_soc_card_get_drvdata(card); int hs_trim; - int ret = 0; + int ret; /* * Configure McPDM offset cancellation based on the HSOTRIM value from -- 2.25.1