diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-10-07 14:23:21 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-07 15:35:46 +0100 |
commit | 0372abfcd81a4db94070d235e1ae3ff928efcab9 (patch) | |
tree | 40908a05df5210ab5c44afac76600d5c0469415f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7ce8e4d380d68f34edc96c7efcf95b1476e7f033 (diff) |
ASoC: amd: acp: refactor sof_card_dai_links_create() function
Refactor sof_card_dai_links_create() function by replacing
'sof_ends' and 'sof_dais' structure declarations as
struct asoc_sdw_endpoint *sof_ends __free(kfree) = NULL;
struct asoc_sdw_dailink *sof_dais __free(kfree) = NULL;
Use above declarations to eliminate goto statements usage.
Suggested-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20241007085321.3991149-4-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions