2024-06-01 23:26:28

by Dr. David Alan Gilbert

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

From: "Dr. David Alan Gilbert" <[email protected]>

'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 <[email protected]>
---
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



2024-06-13 12:17:48

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH] ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param'

On Sun, 02 Jun 2024 01:26:04 +0200,
[email protected] wrote:
>
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> '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 <[email protected]>

Thanks, applied.


Takashi