mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ASoC: Intel: Atom: sst_pvt: remove redundant initialization
Fix cppcheck warning: sound/soc/intel/atom/sst/sst_pvt.c:201:9: warning: Identical condition and return expression 'retval', return value is always 0 [identicalConditionAfterEarlyExit] return retval; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200813200147.61990-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
30701e0f3b
commit
f3352e6b7c
@ -188,7 +188,7 @@ int sst_create_block_and_ipc_msg(struct ipc_post **arg, bool large,
|
||||
struct intel_sst_drv *sst_drv_ctx, struct sst_block **block,
|
||||
u32 msg_id, u32 drv_id)
|
||||
{
|
||||
int retval = 0;
|
||||
int retval;
|
||||
|
||||
retval = sst_create_ipc_msg(arg, large);
|
||||
if (retval)
|
||||
|
Loading…
Reference in New Issue
Block a user