public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sound/arm/aaci: remove unused variable
@ 2024-03-12  9:45 Max Kellermann
  0 siblings, 0 replies; only message in thread
From: Max Kellermann @ 2024-03-12  9:45 UTC (permalink / raw)
  To: linux, perex, tiwai, linux-kernel; +Cc: Max Kellermann

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;
       |                      ^~~~

Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
---
 sound/arm/aaci.c | 1 -
 1 file changed, 1 deletion(-)

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;
 }
-- 
2.39.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-12  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-12  9:45 [PATCH] sound/arm/aaci: remove unused variable Max Kellermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox