ALSA: aaci: Delete unused variable in aaci_do_suspend
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Tue, 12 Mar 2024 11:22:28 +0000 (12:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Mar 2024 11:30:51 +0000 (12:30 +0100)
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

index f64896564728b1e2b037b0a43bea9f786d6e0622..c3340b8ff3dafe683416f5e34ce122206543b97d 100644 (file)
@@ -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;
 }