diff mbox series

ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param'

Message ID 20240601232604.198662-1-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series ALSA: xen-front: remove unused struct 'alsa_sndif_hw_param' | expand

Commit Message

Dr. David Alan Gilbert June 1, 2024, 11:26 p.m. UTC
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(-)

Comments

Takashi Iwai June 13, 2024, 12:15 p.m. UTC | #1
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
diff mbox series

Patch

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,