summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2026-06-03 06:50:05 +0000
committerMark Brown <broonie@kernel.org>2026-06-03 14:49:59 +0100
commit7cd04a6ad6c3d57f7de7908b7feed271cba056db (patch)
treefcd2ca52a89e4d96e0bf2adb17aa880e394572a4
parentf6c87ba6c37afe386eb8c1bd173a7a40ebf78716 (diff)
downloadlinux-7cd04a6ad6c3d57f7de7908b7feed271cba056db.tar.gz
linux-7cd04a6ad6c3d57f7de7908b7feed271cba056db.zip
ASoC: amd: acp6x-mach: remove unused machine
Not used, remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/874ijkce3m.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/yc/acp6x-mach.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 7a637d6b5576..63f2b39f78b7 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -800,7 +800,6 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
static int acp6x_probe(struct platform_device *pdev)
{
const struct dmi_system_id *dmi_id;
- struct acp6x_pdm *machine = NULL;
struct snd_soc_card *card;
struct acpi_device *adev;
acpi_handle handle;
@@ -847,7 +846,6 @@ check_dmi_entry:
dev_info(&pdev->dev, "Enabling ACP DMIC support via %s", dmi_id ? "DMI" : "ACPI");
acp6x_card.dev = &pdev->dev;
- snd_soc_card_set_drvdata(card, machine);
ret = devm_snd_soc_register_card(&pdev->dev, card);
if (ret) {
return dev_err_probe(&pdev->dev, ret,