diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2023-05-22 13:13:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-22 11:18:34 +0100 |
commit | d474809e9284848b6cb57a885f3252b86a0b485f (patch) | |
tree | b84495b5a407b7ee53d833e592b0218114146eab /sound/soc/sof/ipc4-loader.c | |
parent | 83b3432fc5b7128f9904a13b5d5c539c68b57447 (diff) | |
download | linux-stable-d474809e9284848b6cb57a885f3252b86a0b485f.tar.gz linux-stable-d474809e9284848b6cb57a885f3252b86a0b485f.tar.bz2 linux-stable-d474809e9284848b6cb57a885f3252b86a0b485f.zip |
ASoC: SOF: ipc4-loader: Drop unused bss_size from struct sof_ipc4_fw_module
The bss_size is only set, but not used by the code, remove it.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20230522101313.12519-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc4-loader.c')
-rw-r--r-- | sound/soc/sof/ipc4-loader.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/sof/ipc4-loader.c b/sound/soc/sof/ipc4-loader.c index 1321acc402fd..bb215d33d455 100644 --- a/sound/soc/sof/ipc4-loader.c +++ b/sound/soc/sof/ipc4-loader.c @@ -112,16 +112,12 @@ static ssize_t sof_ipc4_fw_parse_ext_man(struct snd_sof_dev *sdev, return -EINVAL; } - /* a module's config is always the same size */ - fw_module->bss_size = fm_config[fm_entry->cfg_offset].is_bytes; dev_dbg(sdev->dev, "module %s: UUID %pUL cfg_count: %u, bss_size: %#x\n", fm_entry->name, &fm_entry->uuid, fm_entry->cfg_count, - fw_module->bss_size); + fm_config[fm_entry->cfg_offset].is_bytes); } else { - fw_module->bss_size = 0; - dev_dbg(sdev->dev, "module %s: UUID %pUL\n", fm_entry->name, &fm_entry->uuid); } |