summaryrefslogtreecommitdiff
path: root/sound/usb/line6/playback.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-19 14:05:10 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-01-20 07:16:01 (GMT)
commita019f5e8c522f5b5f8b3419a1e56d142ea4c7621 (patch)
treedf38d756f18400c0af6518d8e40449ff93774b93 /sound/usb/line6/playback.c
parent45a82f18913fd9b959f0703ed47750733840e92a (diff)
downloadlinux-a019f5e8c522f5b5f8b3419a1e56d142ea4c7621.tar.xz
ALSA: line6: Remove superfluous out-of-memory error messages
Kernel already shows the error in the common path. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/playback.c')
-rw-r--r--sound/usb/line6/playback.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/line6/playback.c b/sound/usb/line6/playback.c
index 8fc2ded..5a7fe40 100644
--- a/sound/usb/line6/playback.c
+++ b/sound/usb/line6/playback.c
@@ -558,10 +558,8 @@ int line6_create_audio_out_urbs(struct snd_line6_pcm *line6pcm)
urb = line6pcm->urb_audio_out[i] =
usb_alloc_urb(LINE6_ISO_PACKETS, GFP_KERNEL);
- if (urb == NULL) {
- dev_err(line6->ifcdev, "Out of memory\n");
+ if (urb == NULL)
return -ENOMEM;
- }
urb->dev = line6->usbdev;
urb->pipe =