diff options
Diffstat (limited to 'sound/pcmcia')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c b/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c index 20b86d8df7a3..d54033ebd5e9 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c | |||
@@ -325,15 +325,6 @@ static snd_pcm_ops_t pdacf_pcm_capture_ops = { | |||
325 | 325 | ||
326 | 326 | ||
327 | /* | 327 | /* |
328 | * free callback for pcm | ||
329 | */ | ||
330 | static void snd_pdacf_pcm_free(snd_pcm_t *pcm) | ||
331 | { | ||
332 | pdacf_t *chip = pcm->private_data; | ||
333 | chip->pcm = NULL; | ||
334 | } | ||
335 | |||
336 | /* | ||
337 | * snd_pdacf_pcm_new - create and initialize a pcm | 328 | * snd_pdacf_pcm_new - create and initialize a pcm |
338 | */ | 329 | */ |
339 | int snd_pdacf_pcm_new(pdacf_t *chip) | 330 | int snd_pdacf_pcm_new(pdacf_t *chip) |
@@ -348,7 +339,6 @@ int snd_pdacf_pcm_new(pdacf_t *chip) | |||
348 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops); | 339 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pdacf_pcm_capture_ops); |
349 | 340 | ||
350 | pcm->private_data = chip; | 341 | pcm->private_data = chip; |
351 | pcm->private_free = snd_pdacf_pcm_free; | ||
352 | pcm->info_flags = 0; | 342 | pcm->info_flags = 0; |
353 | strcpy(pcm->name, chip->card->shortname); | 343 | strcpy(pcm->name, chip->card->shortname); |
354 | chip->pcm = pcm; | 344 | chip->pcm = pcm; |