ASoC: Intel: Atom: remove redundant initialization
Fix cppcheck warnings: sound/soc/intel/atom/sst/sst.c:427:13: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int i, ret = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200813200147.61990-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
4e3aab3217
commit
30701e0f3b
@ -423,7 +423,7 @@ static int intel_sst_suspend(struct device *dev)
|
||||
{
|
||||
struct intel_sst_drv *ctx = dev_get_drvdata(dev);
|
||||
struct sst_fw_save *fw_save;
|
||||
int i, ret = 0;
|
||||
int i, ret;
|
||||
|
||||
/* check first if we are already in SW reset */
|
||||
if (ctx->sst_state == SST_RESET)
|
||||
|
Loading…
x
Reference in New Issue
Block a user