aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-11-16 12:43:35 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:16:21 -0500
commitc3e6f7d8763fa0400d28c57633eb323515ba05fc (patch)
treeb0803843b710ac74fc1399910445a8ff2cf396a5 /sound/pci/rme9652
parentf31a31b9024f21b2ad8f5a7c30e265a652e2e211 (diff)
[ALSA] Remove superfluous pcm_free callbacks
Remove superflous pcm_free callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r--sound/pci/rme9652/hdspm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index a1aef6f6767e..ae2013a8492d 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -3336,15 +3336,6 @@ static int __devinit snd_hdspm_preallocate_memory(hdspm_t * hdspm)
3336 return 0; 3336 return 0;
3337} 3337}
3338 3338
3339static int snd_hdspm_memory_free(hdspm_t * hdspm)
3340{
3341 snd_printdd("memory_free_for_all %p\n", hdspm->pcm);
3342
3343 snd_pcm_lib_preallocate_free_for_all(hdspm->pcm);
3344 return 0;
3345}
3346
3347
3348static void hdspm_set_sgbuf(hdspm_t * hdspm, struct snd_sg_buf *sgbuf, 3339static void hdspm_set_sgbuf(hdspm_t * hdspm, struct snd_sg_buf *sgbuf,
3349 unsigned int reg, int channels) 3340 unsigned int reg, int channels)
3350{ 3341{
@@ -3568,8 +3559,6 @@ static int snd_hdspm_free(hdspm_t * hdspm)
3568 if (hdspm->iobase) 3559 if (hdspm->iobase)
3569 iounmap(hdspm->iobase); 3560 iounmap(hdspm->iobase);
3570 3561
3571 snd_hdspm_memory_free(hdspm);
3572
3573 if (hdspm->port) 3562 if (hdspm->port)
3574 pci_release_regions(hdspm->pci); 3563 pci_release_regions(hdspm->pci);
3575 3564