ALSA: arm: remove an unused variable
Subsystems (2)
PATCH 1/1 ALSA: arm: remove an unused variable
From: Arnd Bergmann <[email protected]>
The only user of a variable got removed a while ago, but I only now ran into this on randconfig builds with clang:
sound/arm/aaci.c:742:15: error: unused variable 'aaci' [-Werror,-Wunused-variable]
742 | struct aaci *aaci = card->private_data;
Remove the unnecessary variable.
Fixes 793e0fca25fa ("ALSA: arm: Remove superfluous snd_pcm_suspend*() calls")
Signed-off-by Arnd Bergmann <[email protected]>
--- sound/arm/aaci.c | 1 - 1 file changed, 1 deletion(-)
sound/arm/aaci.c +0 -1
@@ -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 ; }
Signature · 1 line
2.39.2