aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/cmi8330.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/isa/cmi8330.c')
-rw-r--r--sound/isa/cmi8330.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/isa/cmi8330.c b/sound/isa/cmi8330.c
index 5252206ea388..6038529d5af2 100644
--- a/sound/isa/cmi8330.c
+++ b/sound/isa/cmi8330.c
@@ -388,11 +388,6 @@ static int snd_cmi8330_capture_open(snd_pcm_substream_t * substream)
388 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); 388 return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream);
389} 389}
390 390
391static void snd_cmi8330_pcm_free(snd_pcm_t *pcm)
392{
393 snd_pcm_lib_preallocate_free_for_all(pcm);
394}
395
396static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip) 391static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip)
397{ 392{
398 snd_pcm_t *pcm; 393 snd_pcm_t *pcm;
@@ -407,7 +402,6 @@ static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip)
407 return err; 402 return err;
408 strcpy(pcm->name, "CMI8330"); 403 strcpy(pcm->name, "CMI8330");
409 pcm->private_data = chip; 404 pcm->private_data = chip;
410 pcm->private_free = snd_cmi8330_pcm_free;
411 405
412 /* SB16 */ 406 /* SB16 */
413 ops = snd_sb16dsp_get_pcm_ops(CMI_SB_STREAM); 407 ops = snd_sb16dsp_get_pcm_ops(CMI_SB_STREAM);