Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1894079lqz; Tue, 2 Apr 2024 00:13:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUd6g3SeBhL/i9tT8lnS+kR6VLpQMHKUV5kGBndykSo1aiOYKyD0kTYWJkGdslrDIbo6wz2Dpi4iwmAUaJlVCKkputed7USnHPaCMtrGw== X-Google-Smtp-Source: AGHT+IEi3HvLzBW+7oANOkAD9ljQCdd0D1CUR7I/b9S51hwRh1DS9uMJ9EcjGVtq62YHO5aWscUp X-Received: by 2002:a17:906:6a21:b0:a4e:2a07:5450 with SMTP id qw33-20020a1709066a2100b00a4e2a075450mr9637232ejc.35.1712042033843; Tue, 02 Apr 2024 00:13:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712042033; cv=pass; d=google.com; s=arc-20160816; b=FNK06n3fbEL8LBkZRundV7vJU/kbi1E9rLFNhKpZkxmXNTNxHeI+969C6/W474pGko IiriUck/SijrCZgrxTraVkeHN/Kwsd+GNYI0cjTMOnwce/9WvWlLgwhWQTCgJc+eJM5S 8/h2dPF3iw6GFoKHpZKhTYpnSoon8qxqbgbrGEssTA0Y46UJscT8vTbpt6hvpfQounDZ RPhNqY6XDSdFkSCpzf8TvKZGPcNSdXoMM2GZ2/dSQOjY4Wjf8XNpPXFghEkbr0q8406U Gaesp+hQSetwOg64DmWfYEA9l5TndyyzwDdA6MgEth7+rcYcwQ/B6hGIx1kieEruRPBm dYqQ== 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=qNpzql9+lH/lBhekmkx7lLo9hsDbNRyvScO8cpF1Sio=; fh=geQJ6f4GGkO67aA4OnEJfdb5FkPflu4mDfU0FzMTC5M=; b=DrWKgR1c4VWoYRGTY4dIl4vsTq8OHvdS/Qounep0arkxDHYCpZ8bU9MVBK2gQyh9mP W5rC2DlHK/ea6Gn9tNI8m+KFrtJae0GIQKEiNnvNoyTNjz0QcL6qWQwUr/d1TpU9OFQY Uqr61ISXAt4IlGix2MORSGRdig1dp2BpCYd3T9eUAKsDGDRDxBH6VJ3sRHtkmajPKJFU dkRb8mJpWP+FBhX8L2roKaHXq/nKI5TCl+Oi6ne2crTA6V7BvaeNEmNAZqDB+snwJLGT 41e7uM2FFIsU4bDxBLiCCnKlbEdlc1+D7XFIbg06ZUakpJ8HRynkk4tySYZrEWM15qk2 gRtQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Vn749ZgT; 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-127484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127484-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z5-20020a170906074500b00a4e86066f44si542081ejb.575.2024.04.02.00.13.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 00:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Vn749ZgT; 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-127484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127484-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 8A6051F22821 for ; Tue, 2 Apr 2024 07:13:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C36B56B95; Tue, 2 Apr 2024 07:12:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Vn749ZgT" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 3E47245948; Tue, 2 Apr 2024 07:12:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041950; cv=none; b=N6C1Nm6nM+CLLyh4A4nC+BBMXqubiMuTxKN0aSsa3BUXj0T2ffD3R4XhFGyZB4hhpxJZpXqbmb/Qf+iZq/MElD2UoAu6xHqYGdx2zpc3GLXl+UKrMh1qWsAwVogBKwpSg10YiaUuR3aLJrXvmMe9cGO9h0EBv+JcnKHt6Fa0Cn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712041950; c=relaxed/simple; bh=xT943C5Lc6QbwMrA6Li4GMts7767Jo8Mq5mXiDRi4PQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SlL/zmrMWc/phwGtqeO3iUgLVLWeUXJ/wDS596NHBGcSd4bT4g1ZgQ4MhaIv61oc44Nodm6c1kxoOEsooEG4FBHS3nyNBLDtd4u2bFmhvBIc7k6INR3d0IxmCqhqj0KbHLpk/u7PYoa+ABkIE3rZlauI/O4fH6bi/nN5vS49XPw= 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=Vn749ZgT; arc=none smtp.client-ip=217.70.183.199 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 C7F4AFF810; Tue, 2 Apr 2024 07:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712041946; 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=qNpzql9+lH/lBhekmkx7lLo9hsDbNRyvScO8cpF1Sio=; b=Vn749ZgTdPjlWbJ72PnBY0ctPhrcvGn3UHn/wE+Z4138OYr6T5OKAwqCwWuEAqBE3drNZX 0rZLPrkHcR648FVI4TS5hfDdEji/wqfXTN1c3kSTOZF7EYLBbLLblnCzHiIWP8mDKQyaON ABeuY8e6oH+Q8oBiEI003YTfiTPzLoF1a7oGXunJTWVFYJG99T5yxavG5x/N+R8YCHr5ZQ uZCfOOpxytoN+pBQ/7q55JFVoA2JMMx0aUqw6PK0GnqG1lzM6wJvHzRwvOXIcOVco8eAOD uVITNA1Mcp98Tsh7/X4bRuSAILMQ8hG47z7wAKWQ4sOhs2X8vJ9QMOB15rBf0w== 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 v2 06/13] ASoC: ti: davinci-i2s: Delete unnecessary assignment Date: Tue, 2 Apr 2024 09:12:06 +0200 Message-ID: <20240402071213.11671-7-bastien.curutchet@bootlin.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240402071213.11671-1-bastien.curutchet@bootlin.com> References: <20240402071213.11671-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 578b4ae28b71..a2c7c812ea50 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.44.0