]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/renesas_usbhs/pipe.c
svcrdma: Move send_wr to svc_rdma_op_ctxt
[karo-tx-linux.git] / drivers / usb / renesas_usbhs / pipe.c
index c238772b9e9e1a87bb2d43f6c2a85f95bef6e4e8..9396a8c14af80104e8841d98ca30d27ffb1fd88d 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;