]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoc: tas2783A: Remove unneeded variable assignment
authorTang Bin <tangbin@cmss.chinamobile.com>
Tue, 30 Sep 2025 09:33:49 +0000 (17:33 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Oct 2025 10:27:06 +0000 (11:27 +0100)
In the function tas2783_update_calibdata, 'i' to 0 is repeated,
thus delete one.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20250930093349.1934-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2783-sdw.c

index 1fb4227b711e6b6d29fc3cfce6daa431c41f7f55..d62667957939b1e66932ddb7d7807918fd51ce72 100644 (file)
@@ -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,