]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: trident: Remove unused variable in trident_main.c
authorSachin Kamat <sachin.kamat@samsung.com>
Tue, 1 Jul 2014 04:40:29 +0000 (10:10 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 1 Jul 2014 09:24:31 +0000 (11:24 +0200)
'private_data' is not used in the function. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/trident/trident_main.c

index 1272c18a2544364a7d81a1e0d57a10b5c1f36f04..da875dced2ef3559d154e63f9cdfcf26d58fc75e 100644 (file)
@@ -3880,14 +3880,12 @@ void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voi
 {
        unsigned long flags;
        void (*private_free)(struct snd_trident_voice *);
-       void *private_data;
 
        if (voice == NULL || !voice->use)
                return;
        snd_trident_clear_voices(trident, voice->number, voice->number);
        spin_lock_irqsave(&trident->voice_alloc, flags);
        private_free = voice->private_free;
-       private_data = voice->private_data;
        voice->private_free = NULL;
        voice->private_data = NULL;
        if (voice->pcm)