diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-19 15:05:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-20 08:16:01 +0100 |
commit | a019f5e8c522f5b5f8b3419a1e56d142ea4c7621 (patch) | |
tree | df38d756f18400c0af6518d8e40449ff93774b93 /sound/usb/line6/variax.c | |
parent | ALSA: line6: Drop usb_device sysfs symlink (diff) | |
download | linux-a019f5e8c522f5b5f8b3419a1e56d142ea4c7621.tar.xz linux-a019f5e8c522f5b5f8b3419a1e56d142ea4c7621.zip |
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/variax.c')
-rw-r--r-- | sound/usb/line6/variax.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/usb/line6/variax.c b/sound/usb/line6/variax.c index 0c852bb1e76c..9a9c7e48e24f 100644 --- a/sound/usb/line6/variax.c +++ b/sound/usb/line6/variax.c @@ -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); |