From: Tang Bin Date: Tue, 30 Sep 2025 09:33:49 +0000 (+0800) Subject: ASoc: tas2783A: Remove unneeded variable assignment X-Git-Tag: v6.19-rc1~156^2~3^2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c89238ca35bfe176ba34bc688541f90f6fa7bdb;p=thirdparty%2Fkernel%2Flinux.git ASoc: tas2783A: Remove unneeded variable assignment In the function tas2783_update_calibdata, 'i' to 0 is repeated, thus delete one. Signed-off-by: Tang Bin Link: https://patch.msgid.link/20250930093349.1934-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c index 1fb4227b711e6..d62667957939b 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,