aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/pmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r--sound/ppc/pmac.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index db2f1815fc30..dd28187ec0e9 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -637,11 +637,6 @@ static snd_pcm_ops_t snd_pmac_capture_ops = {
637 .pointer = snd_pmac_capture_pointer, 637 .pointer = snd_pmac_capture_pointer,
638}; 638};
639 639
640static void pmac_pcm_free(snd_pcm_t *pcm)
641{
642 snd_pcm_lib_preallocate_free_for_all(pcm);
643}
644
645int __init snd_pmac_pcm_new(pmac_t *chip) 640int __init snd_pmac_pcm_new(pmac_t *chip)
646{ 641{
647 snd_pcm_t *pcm; 642 snd_pcm_t *pcm;
@@ -659,7 +654,6 @@ int __init snd_pmac_pcm_new(pmac_t *chip)
659 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_pmac_capture_ops); 654 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_pmac_capture_ops);
660 655
661 pcm->private_data = chip; 656 pcm->private_data = chip;
662 pcm->private_free = pmac_pcm_free;
663 pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; 657 pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX;
664 strcpy(pcm->name, chip->card->shortname); 658 strcpy(pcm->name, chip->card->shortname);
665 chip->pcm = pcm; 659 chip->pcm = pcm;