[PATCH] ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param'

linux@treblig.org posted 1 patch 5 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
sound/xen/xen_snd_front_alsa.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param'
Posted by linux@treblig.org 5 months, 3 weeks ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'alsa_sndif_hw_param' has been unused since the original
commit 1cee559351a7 ("ALSA: xen-front: Implement ALSA virtual sound
driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 sound/xen/xen_snd_front_alsa.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sound/xen/xen_snd_front_alsa.c b/sound/xen/xen_snd_front_alsa.c
index 31b5dc0f34d2..b229eb6f7057 100644
--- a/sound/xen/xen_snd_front_alsa.c
+++ b/sound/xen/xen_snd_front_alsa.c
@@ -69,11 +69,6 @@ struct alsa_sndif_sample_format {
 	snd_pcm_format_t alsa;
 };
 
-struct alsa_sndif_hw_param {
-	u8 sndif;
-	snd_pcm_hw_param_t alsa;
-};
-
 static const struct alsa_sndif_sample_format ALSA_SNDIF_FORMATS[] = {
 	{
 		.sndif = XENSND_PCM_FORMAT_U8,
-- 
2.45.1
Re: [PATCH] ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param'
Posted by Takashi Iwai 5 months, 2 weeks ago
On Sun, 02 Jun 2024 01:26:04 +0200,
linux@treblig.org wrote:
> 
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'alsa_sndif_hw_param' has been unused since the original
> commit 1cee559351a7 ("ALSA: xen-front: Implement ALSA virtual sound
> driver").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Thanks, applied.


Takashi