Skip to contentSkip to conversation

sound/arm/aaci: remove unused variable

PATCH New Max Kellermann 1 participant 1 message Mar 12, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound/arm/aaci: remove unused variable

Fixes compiler warning:

sound/arm/aaci.c: In function 'aaci_do_suspend':
sound/arm/aaci.c:742:22: error: unused variable 'aaci' [-Werror=unused-variable]
742 | struct aaci *aaci = card->private_data;
| ^~~~

---
 sound/arm/aaci.c | 1 -
 1 file changed, 1 deletion(-)
sound/arm/aaci.c +0 -1
index f64896564728..c3340b8ff3da 100644
@@ -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