summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorGergo Koteles <soyer@irl.hu>2024-02-09 06:59:34 +0100
committerMark Brown <broonie@kernel.org>2024-02-09 14:32:51 +0000
commit4089d82e67a9967fc5bf2b4e5ef820d67fe73924 (patch)
tree2e6f14a4c4b6b208fb7241a55e481e4fbbb726cd /sound/soc
parent6b4c7d4d8297a9f395ff4addba8e5fde7f730c37 (diff)
downloadlinux-stable-4089d82e67a9967fc5bf2b4e5ef820d67fe73924.tar.gz
linux-stable-4089d82e67a9967fc5bf2b4e5ef820d67fe73924.tar.bz2
linux-stable-4089d82e67a9967fc5bf2b4e5ef820d67fe73924.zip
ASoC: tas2781: remove unused acpi_subysystem_id
The acpi_subysystem_id is only written and freed, not read, so unnecessary. Signed-off-by: Gergo Koteles <soyer@irl.hu> Link: https://lore.kernel.org/r/454639336be28d2b50343e9c8366a56b0975e31d.1707456753.git.soyer@irl.hu Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/tas2781-comlib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2781-comlib.c b/sound/soc/codecs/tas2781-comlib.c
index b7e56ceb1acf..09ed154c6ea8 100644
--- a/sound/soc/codecs/tas2781-comlib.c
+++ b/sound/soc/codecs/tas2781-comlib.c
@@ -407,7 +407,6 @@ void tasdevice_remove(struct tasdevice_priv *tas_priv)
{
if (gpio_is_valid(tas_priv->irq_info.irq_gpio))
gpio_free(tas_priv->irq_info.irq_gpio);
- kfree(tas_priv->acpi_subsystem_id);
mutex_destroy(&tas_priv->codec_lock);
}
EXPORT_SYMBOL_GPL(tasdevice_remove);