* [PATCH] sound:aica:Remove unused variable
@ 2024-10-08 6:13 Zhu Jun
2024-10-08 8:14 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Zhu Jun @ 2024-10-08 6:13 UTC (permalink / raw)
To: perex; +Cc: tiwai, zhujun2, duoming, linux-sound, linux-kernel
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(-)
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));
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sound:aica:Remove unused variable
2024-10-08 6:13 [PATCH] sound:aica:Remove unused variable Zhu Jun
@ 2024-10-08 8:14 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2024-10-08 8:14 UTC (permalink / raw)
To: Zhu Jun; +Cc: perex, tiwai, duoming, linux-sound, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-10-08 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 6:13 [PATCH] sound:aica:Remove unused variable Zhu Jun
2024-10-08 8:14 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome