Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: trident: Remove unused variable in trident_main.c

'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>

authored by

Sachin Kamat and committed by
Takashi Iwai
8d904864 84526820

-2
-2
sound/pci/trident/trident_main.c
··· 3880 3880 { 3881 3881 unsigned long flags; 3882 3882 void (*private_free)(struct snd_trident_voice *); 3883 - void *private_data; 3884 3883 3885 3884 if (voice == NULL || !voice->use) 3886 3885 return; 3887 3886 snd_trident_clear_voices(trident, voice->number, voice->number); 3888 3887 spin_lock_irqsave(&trident->voice_alloc, flags); 3889 3888 private_free = voice->private_free; 3890 - private_data = voice->private_data; 3891 3889 voice->private_free = NULL; 3892 3890 voice->private_data = NULL; 3893 3891 if (voice->pcm)