media: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 11:01:48 +0000 (12:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 17:37:29 +0000 (18:37 +0100)
commit62e94da3e9d8b991a467f376441a805c5d14c9c7
treeef804c846360ebb274701abb4fcaabb2ef035bd7
parent6c422436638af9f8240df71c53275c3d255c2170
media: Drop superfluous PCM preallocation error checks

snd_pcm_lib_preallocate_pages() and co always succeed, so the error
check is simply redundant.  Drop it.

Acked-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/media/pci/solo6x10/solo6x10-g723.c
drivers/media/pci/tw686x/tw686x-audio.c