summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-08-13 15:01:44 -0500
committerMark Brown <broonie@kernel.org>2020-08-18 11:50:23 +0100
commitc6193988e945b658bffd09174edae1b43b8ab0b6 (patch)
tree3c75689402476f77d1fa233d30a8b7cbfd6b5e5a /sound/soc/intel/skylake
parent3b4d60f0f7dd13594916bcd6644ea6208597d993 (diff)
downloadlinux-c6193988e945b658bffd09174edae1b43b8ab0b6.tar.gz
linux-c6193988e945b658bffd09174edae1b43b8ab0b6.tar.bz2
linux-c6193988e945b658bffd09174edae1b43b8ab0b6.zip
ASoC: Intel: Skylake: sst-utils: remove redundant assignment
Fix cppcheck warning: sound/soc/intel/skylake/skl-sst-utils.c:240:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int ret = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200813200147.61990-19-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake')
-rw-r--r--sound/soc/intel/skylake/skl-sst-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-utils.c b/sound/soc/intel/skylake/skl-sst-utils.c
index b233f89517c1..57ea815d3f04 100644
--- a/sound/soc/intel/skylake/skl-sst-utils.c
+++ b/sound/soc/intel/skylake/skl-sst-utils.c
@@ -237,7 +237,7 @@ int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw,
struct uuid_module *module;
struct firmware stripped_fw;
unsigned int safe_file;
- int ret = 0;
+ int ret;
/* Get the FW pointer to derive ADSP header */
stripped_fw.data = fw->data;