]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: parisc: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:31:42 +0000 (16:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:03 +0000 (10:29 +0100)
commitf32e5616005bb999fec6a2e914161805d7ad061f
tree5b56938661de0380015dd7ac9dc88d430bf7636e
parente6e8c82b97472c4e02a314e7161f980534e7bca5
ALSA: parisc: Drop superfluous PCM preallocation error checks

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

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/parisc/harmony.c