summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2023-08-14 18:42:35 -0500
committerMark Brown <broonie@kernel.org>2023-08-15 13:54:55 +0100
commitc5556d8651b4c58e0d9894be5a0188c9c90ce899 (patch)
tree18b84e7937d68b693ef8d03bb62773ada36eacbe /sound/soc/sof
parent62cc82e6486b9b66b340bbf5fb38b0171fb56a7f (diff)
downloadlinux-stable-c5556d8651b4c58e0d9894be5a0188c9c90ce899.tar.gz
linux-stable-c5556d8651b4c58e0d9894be5a0188c9c90ce899.tar.bz2
linux-stable-c5556d8651b4c58e0d9894be5a0188c9c90ce899.zip
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 <pierre-louis.bossart@linux.intel.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20230814234235.87268-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof')
-rw-r--r--sound/soc/sof/ipc4-topology.c3
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)