]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: usb: Drop superfluous PCM preallocation error checks
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Feb 2019 15:36:10 +0000 (16:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Feb 2019 09:29:42 +0000 (10:29 +0100)
commit4d1b53034d799a0618b00ddb194e30594fafcd2f
tree174b5266fd4eebe8d5f224baead000a41bf91668
parent600bacfcd706b5820d172626bfa6347482b4946b
ALSA: usb: 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/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c