diff mbox series

sound:aica:Remove unused variable

Message ID 20241008061357.12042-1-zhujun2@cmss.chinamobile.com (mailing list archive)
State New, archived
Headers show
Series sound:aica:Remove unused variable | expand

Commit Message

Zhu Jun Oct. 8, 2024, 6:13 a.m. UTC
The variable is never referenced in the code, just remove it

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
---
 sound/sh/aica.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Takashi Iwai Oct. 8, 2024, 8:14 a.m. UTC | #1
On Tue, 08 Oct 2024 08:13:57 +0200,
Zhu Jun wrote:
> 
> The variable is never referenced in the code, just remove it
> 
> Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>

Applied now, thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/sh/aica.c b/sound/sh/aica.c
index 936cd6e91529..66b33623549f 100644
--- a/sound/sh/aica.c
+++ b/sound/sh/aica.c
@@ -315,8 +315,6 @@  static void aica_period_elapsed(struct timer_list *t)
 static void spu_begin_dma(struct snd_pcm_substream *substream)
 {
 	struct snd_card_aica *dreamcastcard;
-	struct snd_pcm_runtime *runtime;
-	runtime = substream->runtime;
 	dreamcastcard = substream->pcm->private_data;
 	/*get the queue to do the work */
 	schedule_work(&(dreamcastcard->spu_dma_work));