diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-07-01 06:40:29 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-07-01 11:24:31 +0200 |
commit | 8d9048643f32d795fd6dbf71d9dd5469611151cd (patch) | |
tree | af779f56b431fb8c37fd7573b78fee1c3015e6fc /sound/pci/trident | |
parent | Merge branch 'topic/hda-cleanup' into for-next (diff) | |
download | linux-8d9048643f32d795fd6dbf71d9dd5469611151cd.tar.xz linux-8d9048643f32d795fd6dbf71d9dd5469611151cd.zip |
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>
Diffstat (limited to 'sound/pci/trident')
-rw-r--r-- | sound/pci/trident/trident_main.c | 2 |
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 { 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) |