Skip to content

Commit

Permalink
module-adapter: (cosmetic) simplify return
Browse files Browse the repository at this point in the history
Use "return 0" where the value of "ret" is known.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh authored and kv2019i committed Nov 16, 2023
1 parent 983ac1a commit f8e3609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/module_adapter/module/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int module_init(struct processing_module *mod, const struct module_interface *in
md->state = MODULE_INITIALIZED;
#endif

return ret;
return 0;
}

void *module_allocate_memory(struct processing_module *mod, uint32_t size, uint32_t alignment)
Expand Down

0 comments on commit f8e3609

Please sign in to comment.