OSDN Git Service

ALSA: ps3: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 2 Jan 2015 14:03:43 +0000 (15:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jan 2015 15:34:57 +0000 (16:34 +0100)
commita14e7eb59bb7ce10766d4778d382ca52b235147f
tree34627bbc0487b33136bc04aede82c89f6c84a3d5
parentef394acb45e232e940367053896708375da1ff92
ALSA: ps3: Remove unnecessary snd_pcm_lib_preallocate_free_for_all()

The ALSA core takes care that all preallocated memory is freed when the card
(and the PCM) itself is freed. There is no need to do this manually in the
driver.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/snd_ps3.c