mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
ASoC: mediatek: remove unnecessary initialization
Cppcheck warning:
sound/soc/mediatek/common/mtk-afe-fe-dai.c:353:8: style: Variable 'i'
is assigned a value that is never used. [unreadVariable]
int i = 0;
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211025185933.144327-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
46ae0b3f55
commit
33fb790fcc
|
|
@ -350,7 +350,7 @@ int mtk_afe_resume(struct snd_soc_component *component)
|
|||
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(component);
|
||||
struct device *dev = afe->dev;
|
||||
struct regmap *regmap = afe->regmap;
|
||||
int i = 0;
|
||||
int i;
|
||||
|
||||
if (pm_runtime_status_suspended(dev) || !afe->suspended)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user