]> asedeno.scripts.mit.edu Git - linux.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)
commite6e8c82b97472c4e02a314e7161f980534e7bca5
treee0995f2927017e77bbc1cfb2f2ecf6dc58b3438d
parent6ce1d63ed7210e7120070297976460f868c36314
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