[PATCH] ASoc: tas2783A: Remove unneeded variable assignment

tangbinzy posted 1 patch 2 months, 2 weeks ago
sound/soc/codecs/tas2783-sdw.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] ASoc: tas2783A: Remove unneeded variable assignment
Posted by tangbinzy 2 months, 2 weeks ago
From: Tang Bin <tangbin@cmss.chinamobile.com>

In the function tas2783_update_calibdata, 'i' to 0 is repeated,
thus delete one.

Signed-off-by: Tang Bin <tangbin@cmss.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