Blob Blame History Raw
From 5a94041db154bc55274c35a9cde2206efb5e9f80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= <thomas.weissschuh@linutronix.de>
Date: Tue, 12 Mar 2024 12:22:28 +0100
Subject: [PATCH] ALSA: aaci: Delete unused variable in aaci_do_suspend
Mime-version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 8bit
Git-commit: 5a94041db154bc55274c35a9cde2206efb5e9f80
Patch-mainline: v6.9-rc1
References: git-fixes

The variable aaci is not used anymore and can be deleted.

Fixes: 792a6c51875c ("[ALSA] Fix PM support")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20240312-aaci-unused-v1-1-09be643f67c2@linutronix.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 sound/arm/aaci.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -740,7 +740,6 @@ static const struct snd_pcm_ops aaci_cap
 #ifdef CONFIG_PM
 static int aaci_do_suspend(struct snd_card *card)
 {
-	struct aaci *aaci = card->private_data;
 	snd_power_change_state(card, SNDRV_CTL_POWER_D3cold);
 	return 0;
 }