[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250930093349.1934-1-tangbin@cmss.chinamobile.com>
Date: Tue, 30 Sep 2025 17:33:49 +0800
From: tangbinzy <tangbin@...s.chinamobile.com>
To: shenghao-ding@...com,
kevin-lu@...com,
baojun.xu@...com,
lgirdwood@...il.com,
broonie@...nel.org,
perex@...ex.cz,
tiwai@...e.com
Cc: linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
Tang Bin <tangbin@...s.chinamobile.com>
Subject: [PATCH] ASoc: tas2783A: Remove unneeded variable assignment
From: Tang Bin <tangbin@...s.chinamobile.com>
In the function tas2783_update_calibdata, 'i' to 0 is repeated,
thus delete one.
Signed-off-by: Tang Bin <tangbin@...s.chinamobile.com>
---
sound/soc/codecs/tas2783-sdw.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
index 1fb4227b7..d62667957 100644
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -693,7 +693,6 @@ static s32 tas2783_update_calibdata(struct tas2783_prv *tas_dev)
tmp_val = (u32 *)tas_dev->cali_data.data;
attr = 0;
- i = 0;
/*
* In some cases, the calibration is performed in Windows,
--
2.33.0
Powered by blists - more mailing lists