Commit afbcb12
Jyri Sarha
module_adapter: generic: Clean up and optimize mod_free_all()
Rewrite misleading copy-pasted comment and remove unnecessary
container removals from res->res_list and res->cont_chunk_list. All
the containers are anyway freed when the container chunks are freed
and the list heads are reinitialized when mod_resource_init() is
called.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 79f5155 commit afbcb12
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
620 | 620 | | |
621 | 621 | | |
622 | 622 | | |
623 | | - | |
624 | | - | |
| 623 | + | |
| 624 | + | |
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | 628 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | 629 | | |
638 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
639 | 637 | | |
640 | 638 | | |
641 | 639 | | |
| |||
0 commit comments