From: Zhu Jun Date: Tue, 8 Oct 2024 06:13:57 +0000 (-0700) Subject: ALSA: aica: Remove unused variable X-Git-Tag: v6.13-rc1~123^2~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ceb43eb60355eed600951248d962c107cd9ba49;p=thirdparty%2Flinux.git ALSA: aica: Remove unused variable The variable is never referenced in the code, just remove it Signed-off-by: Zhu Jun Link: https://patch.msgid.link/20241008061357.12042-1-zhujun2@cmss.chinamobile.com Signed-off-by: Takashi Iwai --- diff --git a/sound/sh/aica.c b/sound/sh/aica.c index 936cd6e91529c..66b33623549ff 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));