mirror of https://github.com/thesofproject/sof.git
smart_amp: remove initial set
Ret is unconditionally set later, so initialization is irrelevant. Cppcheck find. Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
parent
95261a1ebc
commit
5db9cb8f70
|
@ -163,7 +163,7 @@ int maxim_dsm_get_param(struct smart_amp_mod_struct_t *hspk,
|
|||
{
|
||||
struct smart_amp_caldata *caldata = &hspk->param.caldata;
|
||||
size_t bs;
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
if (caldata->data) {
|
||||
/* reset data_pos variable in case of copying first element */
|
||||
|
|
Loading…
Reference in New Issue