summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2024-03-12 12:22:28 +0100
committerTakashi Iwai <tiwai@suse.de>2024-03-12 12:30:51 +0100
commit5a94041db154bc55274c35a9cde2206efb5e9f80 (patch)
treecb386d4a542011bb3de7f0ddad331be5184939e6 /sound
parentf5d9ddf1214bf878ca69c905c2f410c5b51de99c (diff)
downloadlinux-stable-5a94041db154bc55274c35a9cde2206efb5e9f80.tar.gz
linux-stable-5a94041db154bc55274c35a9cde2206efb5e9f80.tar.bz2
linux-stable-5a94041db154bc55274c35a9cde2206efb5e9f80.zip
ALSA: aaci: Delete unused variable in aaci_do_suspend
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/arm/aaci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index f64896564728..c3340b8ff3da 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -739,7 +739,6 @@ static const struct snd_pcm_ops aaci_capture_ops = {
*/
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;
}