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>
Este commit está contenido en:
Takashi Iwai
2015-01-19 15:05:10 +01:00
padre 45a82f1891
commit a019f5e8c5
Se han modificado 5 ficheros con 5 adiciones y 18 borrados

Ver fichero

@@ -402,10 +402,8 @@ int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm)
urb = line6pcm->urb_audio_in[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 =