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

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

usb: musb: am35x: 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 0c2bc5c2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -474,10 +474,8 @@ static int am35x_probe(struct platform_device *pdev)
	int				ret = -ENOMEM;

	glue = kzalloc(sizeof(*glue), GFP_KERNEL);
	if (!glue) {
		dev_err(&pdev->dev, "failed to allocate glue context\n");
	if (!glue)
		goto err0;
	}

	phy_clk = clk_get(&pdev->dev, "fck");
	if (IS_ERR(phy_clk)) {