Merge tag 'gfs2-4.8.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2...
[cascardo/linux.git] / drivers / usb / renesas_usbhs / pipe.c
index c238772..9396a8c 100644 (file)
@@ -804,10 +804,8 @@ int usbhs_pipe_probe(struct usbhs_priv *priv)
        }
 
        info->pipe = kzalloc(sizeof(struct usbhs_pipe) * pipe_size, GFP_KERNEL);
-       if (!info->pipe) {
-               dev_err(dev, "Could not allocate pipe\n");
+       if (!info->pipe)
                return -ENOMEM;
-       }
 
        info->size = pipe_size;