]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: atmel: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:30:33 +0000 (16:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:28:39 +0000 (10:28 +0100)
commitf0359b70f249933fd13c31109e29572999b2cfb5
treee0995f2927017e77bbc1cfb2f2ecf6dc58b3438d
parent315ccfa10a44e469fbaefba9b93e118f9caab27c
ALSA: atmel: 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/atmel/ac97c.c