[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241126093245.3228-1-zhujun2@cmss.chinamobile.com>
Date: Tue, 26 Nov 2024 01:32:45 -0800
From: Zhu Jun <zhujun2@...s.chinamobile.com>
To: perex@...ex.cz
Cc: tiwai@...e.com,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org,
zhujun2@...s.chinamobile.com
Subject: [PATCH] ALSA: asihpi: Remove unused variable
the variable is never referenced in the code, just remove it.
Signed-off-by: Zhu Jun <zhujun2@...s.chinamobile.com>
---
sound/pci/asihpi/asihpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/asihpi/asihpi.c b/sound/pci/asihpi/asihpi.c
index fdd4fe162..5a84591b1 100644
--- a/sound/pci/asihpi/asihpi.c
+++ b/sound/pci/asihpi/asihpi.c
@@ -464,7 +464,7 @@ static int snd_card_asihpi_pcm_hw_params(struct snd_pcm_substream *substream,
return -ENOMEM;
}
- err = hpi_stream_get_info_ex(dpcm->h_stream, NULL,
+ hpi_stream_get_info_ex(dpcm->h_stream, NULL,
&dpcm->hpi_buffer_attached, NULL, NULL, NULL);
}
bytes_per_sec = params_rate(params) * params_channels(params);
--
2.17.1
Powered by blists - more mailing lists