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>
This commit is contained in:
Takashi Iwai
2015-01-19 15:05:10 +01:00
parent 45a82f1891
commit a019f5e8c5
5 changed files with 5 additions and 18 deletions

View File

@@ -260,10 +260,8 @@ static int variax_try_init(struct usb_interface *interface,
variax->buffer_activate = kmemdup(variax_activate,
sizeof(variax_activate), GFP_KERNEL);
if (variax->buffer_activate == NULL) {
dev_err(&interface->dev, "Out of memory\n");
if (variax->buffer_activate == NULL)
return -ENOMEM;
}
/* initialize audio system: */
err = line6_init_audio(&variax->line6);