mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ALSA: usb: caiaq: audio: don't print error when allocating urb fails
kmalloc will print enough information in case of failure. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
parent
8355aaf6d3
commit
289ef67908
1 changed files with 0 additions and 1 deletions
|
|
@ -739,7 +739,6 @@ static struct urb **alloc_urbs(struct snd_usb_caiaqdev *cdev, int dir, int *ret)
|
|||
for (i = 0; i < N_URBS; i++) {
|
||||
urbs[i] = usb_alloc_urb(FRAMES_PER_URB, GFP_KERNEL);
|
||||
if (!urbs[i]) {
|
||||
dev_err(dev, "unable to usb_alloc_urb(), OOM!?\n");
|
||||
*ret = -ENOMEM;
|
||||
return urbs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue