Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp707428lqb; Fri, 15 Mar 2024 04:29:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUU3dLYQ/fWAxVRJi3jmbrgcv7PR/TyLiAogdlEtAkcHQHXgrckAlZLLWq1mQQG/xAwoTZgz+Cg2OWfhTr+dNllZZrc6J6xdjIcJiYQ2g== X-Google-Smtp-Source: AGHT+IGTDMa/zuHChGjV2Q8SjzmKCNEoEVYRgQRQZkTBlB5XGaPY9FhN8F34HRZxmOhiTRBbUzjN X-Received: by 2002:a2e:a68d:0:b0:2d4:57c5:886c with SMTP id q13-20020a2ea68d000000b002d457c5886cmr2565752lje.13.1710502156219; Fri, 15 Mar 2024 04:29:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710502156; cv=pass; d=google.com; s=arc-20160816; b=wuF6WP3qWujpQA+3K6LfbdgylaMtqfLuHYe5euMmrztCPomlVJsTzU1femow44aRGB pygIlOpzjW2G0G21zpjM0c2XiLO52O/pzOy6UqAzmAC0VlWXgdbA/klBaDNxuCTUZpxA DGkOqPckaX9RnVrVp/KpHwXdNm0CEUpn1zhRh3yg8HZhMtcDUajHLYkmpJOSodC5J/LX QXIhY6X2vczoNMZIySV8nQX3nb5JJdmP8QcdSDK/eDWibXx1WuJjpFoYnthLjITgWT0O v8S+Jlfeih7/OLHQt1k87h2Nx1Un12lKjyj9xtBXftZZarPQKV8FNd1d8r7iM7Cefpjw QjAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rIIVeMMbsAWvQSYg8CaxSM8SnaSJIx8VolCRbQElsx8=; fh=n4SwjJiNP2/Niz3kNAE60jWVwmW8nZqV++r9tHasXi4=; b=vvAhhbKlhrWHliyQNdMMUwt5OAXgOpcJV71/0DJLFI04SwI1UFxYVEY/gS/wAQeipt quif8LkxwEiwC1WquWkvfrsRZzknHeNLWzpwUZ0i9Jb7RKuvn1XkkkSlHpByGZ9wU06p uPGmwUerXpYMt1DRArP4Wc1b6hGeGsSI+jjH75aCnldVpHIwsnhlokhYlCh7ano0gDqs dJzTSJ9HB2/aHNwUelCWTO941pYUWXEqzp9KitDP1Yrk9/fbat6A5GkQW2AftXSn0WNl mfVDqZZ1zYGA8BRbfRRjJ5cVd3pzr6fAfeCNdl5s1U4iQOL7TKyIUauN1F08/IyLxCGo fWXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nQloQW+L; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ef15-20020a05640228cf00b00566dfe13326si1693911edb.509.2024.03.15.04.29.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 04:29:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=nQloQW+L; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-104338-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104338-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E79C31F22B5F for ; Fri, 15 Mar 2024 11:29:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 867E11B974; Fri, 15 Mar 2024 11:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="nQloQW+L" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9856B1C687; Fri, 15 Mar 2024 11:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710502086; cv=none; b=EZYrCRzdqABbvPZv6SQMHmzIFr3eXXskNq9tDrfsTiFEmk0gfuj+FxxhCxVNZcJUk4FWvuejk0KQED4VJnHMLKAODibGKeiFxJXe74ddrqr/zUujX82s/DfaRSv/Lkjdy2Hwr2OomjE9i9v5h0uWSB+t3xNPu0ruv/Z4v8ifcyk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710502086; c=relaxed/simple; bh=XVrqaYGWmJTFebdeWf0nePt+KDZv5ZIE/BRC4hiKX1o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WcvdpF48z7dXZp9L3hAmDMKGRMLgUwgrSms/QdYy9vQAFEriLB+qQNSSj/JPKbH4aZDyXssvCz4qn4w2prj76wnsPIAUGMVMpZHGZ+KMe+9vn/2GswqjJRm7DU/kGscFA45dA0ebd3G3LAYNQ5Ca4yUVkkCeNKeGr2AP3b6EPfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=nQloQW+L; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPA id 4FE46E0004; Fri, 15 Mar 2024 11:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1710502083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rIIVeMMbsAWvQSYg8CaxSM8SnaSJIx8VolCRbQElsx8=; b=nQloQW+LiV7NH+lAEDVXoJbNi3po1hk/8VSb3nnFfLqg3YhAzmXIS4BV63HKESHUBS5PHw mjTogem3ct8QXJ1rglzYWWCcYDokmAJ/uUh+JsBeaxZukIHK1SGmDMfY+etmN8yZyKv4qZ UGRb0H1QDD7DOryGFKFJvp/poc87G+J6gxXSOjTS2Qmhvtora+DGRn77j2oGcWu96rHvqT kDa17wCDAtXpEqAID8cGXcc9A2HZea0sGM4y0BVeTXrwMzDP+7OZs4zuqF4qSW7+30a4tZ 6FcQDGWNJNUgwmVTivFucl+QrfUXMmzKMea3RRfEFhG0a13uGNtGIohaP9fIqg== From: Bastien Curutchet To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Ujfalusi , Jaroslav Kysela , Takashi Iwai , Bastien Curutchet Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Thomas Petazzoni , herve.codina@bootlin.com, christophercordahi@nanometrics.ca Subject: [PATCH 06/13] ASoC: ti: davinci-i2s: Delete unnecessary assignment Date: Fri, 15 Mar 2024 12:27:38 +0100 Message-ID: <20240315112745.63230-7-bastien.curutchet@bootlin.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240315112745.63230-1-bastien.curutchet@bootlin.com> References: <20240315112745.63230-1-bastien.curutchet@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-GND-Sasl: bastien.curutchet@bootlin.com In davinci_i2s_hw_params(), mcbsp_word_length is set twice to asp_word_length[fmt]. Remove second unnecessary assignment. Signed-off-by: Bastien Curutchet --- sound/soc/ti/davinci-i2s.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/ti/davinci-i2s.c b/sound/soc/ti/davinci-i2s.c index 8ee22d79b0f4..f4514d4dff07 100644 --- a/sound/soc/ti/davinci-i2s.c +++ b/sound/soc/ti/davinci-i2s.c @@ -479,7 +479,6 @@ static int davinci_i2s_hw_params(struct snd_pcm_substream *substream, return -EINVAL; } } - mcbsp_word_length = asp_word_length[fmt]; switch (master) { case SND_SOC_DAIFMT_BP_FP: -- 2.43.2