Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c34515f8 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

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 avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 93b6cb45
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;