diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-08-13 15:01:43 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-18 11:50:22 +0100 |
commit | 3b4d60f0f7dd13594916bcd6644ea6208597d993 (patch) | |
tree | 1853a15a3e55dc434bd368fb4ec7d9a72814c689 /sound/soc/intel/skylake | |
parent | 8be54edba9096056ff5d0fb2a29d0b3b962fa60c (diff) | |
download | linux-3b4d60f0f7dd13594916bcd6644ea6208597d993.tar.bz2 |
ASoC: Intel: Skylake: cldma: remove redundant initialization
Fix cppcheck warning:
sound/soc/intel/skylake/skl-sst-cldma.c:248: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-18-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-cldma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-cldma.c b/sound/soc/intel/skylake/skl-sst-cldma.c index 36f697c61074..b91f7a652a2b 100644 --- a/sound/soc/intel/skylake/skl-sst-cldma.c +++ b/sound/soc/intel/skylake/skl-sst-cldma.c @@ -245,7 +245,7 @@ static int skl_cldma_copy_to_buf(struct sst_dsp *ctx, const void *bin, u32 total_size, bool wait) { - int ret = 0; + int ret; bool start = true; unsigned int excess_bytes; u32 size; |