]> git.baikalelectronics.ru Git - kernel.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)
commitc6044352828fcf38312d6f4954f515ea050f5722
tree5b56938661de0380015dd7ac9dc88d430bf7636e
parentf0359b70f249933fd13c31109e29572999b2cfb5
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