summaryrefslogtreecommitdiffstats
path: root/sound/sh
diff options
context:
space:
mode:
authorZhu Jun <zhujun2@cmss.chinamobile.com>2024-10-08 08:13:57 +0200
committerTakashi Iwai <tiwai@suse.de>2024-10-08 10:14:05 +0200
commit1ceb43eb60355eed600951248d962c107cd9ba49 (patch)
treee676511602d886f13eb2cee2a042b03d8b1bec97 /sound/sh
parentALSA: dbri: Fix formatting issue in dbri.c (diff)
downloadlinux-1ceb43eb60355eed600951248d962c107cd9ba49.tar.xz
linux-1ceb43eb60355eed600951248d962c107cd9ba49.zip
ALSA: aica: Remove unused variable
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>
Diffstat (limited to 'sound/sh')
-rw-r--r--sound/sh/aica.c2
1 files changed, 0 insertions, 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));