diff options
author | Wolfram Sang <wsa-dev@sang-engineering.com> | 2016-08-11 22:40:11 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-08-11 23:05:57 +0200 |
commit | 289ef679086cf0389173a3c08174df2cacc536f3 (patch) | |
tree | 48298431c64e12e5665ba96ab4ab84656be173d4 /sound/usb | |
parent | 8355aaf6d3defdd7324314cb9452716be3788e82 (diff) | |
download | linux-289ef679086cf0389173a3c08174df2cacc536f3.tar.bz2 |
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 <wsa-dev@sang-engineering.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/caiaq/audio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/caiaq/audio.c b/sound/usb/caiaq/audio.c index 327f8642ca80..8f66ba730d69 100644 --- a/sound/usb/caiaq/audio.c +++ b/sound/usb/caiaq/audio.c @@ -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; } |