ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:42:24 +0000 (16:42 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Feb 2019 13:24:12 +0000 (14:24 +0100)
commitbb580602f3924976d8bc36c171266de73e92cbf7
treecd82554b93c5c51aa0929be562c7e181fd3d612f
parent95d14640d9843f277214893541aef3acb7456a25
ALSA: pcm: Define snd_pcm_lib_preallocate_*() as returning void

Now all callers no longer check the return value from
snd_pcm_lib_preallocate_pages() and co, let's make them to return
void, so that any new code won't fall into the same pitfall.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h
sound/core/pcm_memory.c