Commit 01da5198 authored by Wolfram Sang's avatar Wolfram Sang Committed by Felipe Balbi

usb: renesas_usbhs: pipe: don't print on ENOMEM

All kmalloc-based functions print enough information on failures.
Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 22184917
...@@ -804,10 +804,8 @@ int usbhs_pipe_probe(struct usbhs_priv *priv) ...@@ -804,10 +804,8 @@ int usbhs_pipe_probe(struct usbhs_priv *priv)
} }
info->pipe = kzalloc(sizeof(struct usbhs_pipe) * pipe_size, GFP_KERNEL); info->pipe = kzalloc(sizeof(struct usbhs_pipe) * pipe_size, GFP_KERNEL);
if (!info->pipe) { if (!info->pipe)
dev_err(dev, "Could not allocate pipe\n");
return -ENOMEM; return -ENOMEM;
}
info->size = pipe_size; info->size = pipe_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment