aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/trident
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/trident')
-rw-r--r--sound/pci/trident/trident_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 1272c18a2544..da875dced2ef 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -3880,14 +3880,12 @@ void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voi
3880{ 3880{
3881 unsigned long flags; 3881 unsigned long flags;
3882 void (*private_free)(struct snd_trident_voice *); 3882 void (*private_free)(struct snd_trident_voice *);
3883 void *private_data;
3884 3883
3885 if (voice == NULL || !voice->use) 3884 if (voice == NULL || !voice->use)
3886 return; 3885 return;
3887 snd_trident_clear_voices(trident, voice->number, voice->number); 3886 snd_trident_clear_voices(trident, voice->number, voice->number);
3888 spin_lock_irqsave(&trident->voice_alloc, flags); 3887 spin_lock_irqsave(&trident->voice_alloc, flags);
3889 private_free = voice->private_free; 3888 private_free = voice->private_free;
3890 private_data = voice->private_data;
3891 voice->private_free = NULL; 3889 voice->private_free = NULL;
3892 voice->private_data = NULL; 3890 voice->private_data = NULL;
3893 if (voice->pcm) 3891 if (voice->pcm)