]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: ppc: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:35:10 +0000 (16:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:17 +0000 (10:29 +0100)
commitef8c4165719d1c3cbc4a8969f44c08c86e39e520
tree4ac22fafba4946ea98d17567f9df65986cbc92cb
parentc36ad85102da6b4f623f475b7c0c1759f7aa6924
ALSA: ppc: 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/ppc/snd_ps3.c