]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: aica: Remove unused variable
authorZhu Jun <zhujun2@cmss.chinamobile.com>
Tue, 8 Oct 2024 06:13:57 +0000 (23:13 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Oct 2024 08:14:05 +0000 (10:14 +0200)
The variable is never referenced in the code, just remove it

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20241008061357.12042-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sh/aica.c

index 936cd6e91529c83e502c3bbc89a06805a2fd5404..66b33623549ff5c503e4fcf78160efbc697535b9 100644 (file)
@@ -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));