Commit 31ff3c4
modules: Remove redundant mod_free() and mod_free_all() calls
Remove redundant mod_free() and mod_free_all() calls. The calls became
redundant after mod_free_all() was added to module_adapter_free().
This change concerns only the modules that are already exclusively
using mod_alloc() and friends from module API. Namely, Cadence Codec
API (sof/audio/module_adapter/module/cadence.c) was left out even thou
it uses mod_alloc() and friends, since it still also uses direct
rballoc(), rzalloc(), rmalloc(), and rfree() calls. Cadence Codec API
will be dealt with the rest of the modules that do not yet use module
heap API.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 490b614 commit 31ff3c4
2 files changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
410 | 408 | | |
411 | 409 | | |
412 | 410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
| 680 | + | |
682 | 681 | | |
683 | | - | |
684 | 682 | | |
685 | 683 | | |
686 | 684 | | |
| |||
862 | 860 | | |
863 | 861 | | |
864 | 862 | | |
865 | | - | |
866 | 863 | | |
867 | 864 | | |
868 | 865 | | |
| |||
0 commit comments