mirror of https://gitee.com/openkylin/linux.git
usb: musb: tusb6010: delete unnecessary 'out of memory' messages
The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
65469790c6
commit
6a58856f25
|
@ -1164,10 +1164,8 @@ static int tusb_probe(struct platform_device *pdev)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
|
glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
|
||||||
if (!glue) {
|
if (!glue)
|
||||||
dev_err(&pdev->dev, "failed to allocate glue context\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
|
|
||||||
glue->dev = &pdev->dev;
|
glue->dev = &pdev->dev;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue