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

Commit 0816ea2f authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi
Browse files

usb: musb: musb_dsps: delete unnecessary 'out of memory' messages



The memory subsystem has already had similar message for it.

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 6a58856f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -729,7 +729,6 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue,

	config = devm_kzalloc(&parent->dev, sizeof(*config), GFP_KERNEL);
	if (!config) {
		dev_err(dev, "failed to allocate musb hdrc config\n");
		ret = -ENOMEM;
		goto err;
	}
@@ -781,10 +780,8 @@ static int dsps_probe(struct platform_device *pdev)

	/* allocate glue */
	glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
	if (!glue) {
		dev_err(&pdev->dev, "unable to allocate glue memory\n");
	if (!glue)
		return -ENOMEM;
	}

	glue->dev = &pdev->dev;
	glue->wrp = wrp;