diff options
author | Pierre-Louis Bossart <[email protected]> | 2023-08-14 18:42:35 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-08-15 13:54:55 +0100 |
commit | c5556d8651b4c58e0d9894be5a0188c9c90ce899 (patch) | |
tree | 18b84e7937d68b693ef8d03bb62773ada36eacbe | |
parent | 62cc82e6486b9b66b340bbf5fb38b0171fb56a7f (diff) |
ASoC: SOF: remove duplicate code due to merge
Commit 81113108491e ("ASoC: Merge up fixes") added the same code
twice, remove the extra call.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | sound/soc/sof/ipc4-topology.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/sof/ipc4-topology.c b/sound/soc/sof/ipc4-topology.c index b43663822613..633f6040d712 100644 --- a/sound/soc/sof/ipc4-topology.c +++ b/sound/soc/sof/ipc4-topology.c @@ -1734,9 +1734,6 @@ sof_ipc4_prepare_copier_module(struct snd_sof_widget *swidget, /* update pipeline memory usage */ sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config); - /* update pipeline memory usage */ - sof_ipc4_update_resource_usage(sdev, swidget, &copier_data->base_config); - /* copy IPC data */ memcpy(*ipc_config_data, (void *)copier_data, sizeof(*copier_data)); if (gtw_cfg_config_length) |