diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-16 12:43:35 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:16:21 -0500 |
commit | c3e6f7d8763fa0400d28c57633eb323515ba05fc (patch) | |
tree | b0803843b710ac74fc1399910445a8ff2cf396a5 /sound/isa/cmi8330.c | |
parent | f31a31b9024f21b2ad8f5a7c30e265a652e2e211 (diff) |
[ALSA] Remove superfluous pcm_free callbacks
Remove superflous pcm_free callbacks.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/cmi8330.c')
-rw-r--r-- | sound/isa/cmi8330.c | 6 |
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 | ||
391 | static void snd_cmi8330_pcm_free(snd_pcm_t *pcm) | ||
392 | { | ||
393 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
394 | } | ||
395 | |||
396 | static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip) | 391 | static 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); |