aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ad1889.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r--sound/pci/ad1889.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c
index 1fdae678a345..999aaeae3fff 100644
--- a/sound/pci/ad1889.c
+++ b/sound/pci/ad1889.c
@@ -623,14 +623,6 @@ snd_ad1889_interrupt(int irq,
623 return IRQ_HANDLED; 623 return IRQ_HANDLED;
624} 624}
625 625
626static void
627snd_ad1889_pcm_free(snd_pcm_t *pcm)
628{
629 struct snd_ad1889 *chip = pcm->private_data;
630 chip->pcm = NULL;
631 snd_pcm_lib_preallocate_free_for_all(pcm);
632}
633
634static int __devinit 626static int __devinit
635snd_ad1889_pcm_init(struct snd_ad1889 *chip, int device, snd_pcm_t **rpcm) 627snd_ad1889_pcm_init(struct snd_ad1889 *chip, int device, snd_pcm_t **rpcm)
636{ 628{
@@ -650,7 +642,6 @@ snd_ad1889_pcm_init(struct snd_ad1889 *chip, int device, snd_pcm_t **rpcm)
650 &snd_ad1889_capture_ops); 642 &snd_ad1889_capture_ops);
651 643
652 pcm->private_data = chip; 644 pcm->private_data = chip;
653 pcm->private_free = snd_ad1889_pcm_free;
654 pcm->info_flags = 0; 645 pcm->info_flags = 0;
655 strcpy(pcm->name, chip->card->shortname); 646 strcpy(pcm->name, chip->card->shortname);
656 647