浏览代码

usb: host: ehci-sh: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Peter Chen 10 年之前
父节点
当前提交
25f852a5e1
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/usb/host/ehci-sh.c

+ 0 - 1
drivers/usb/host/ehci-sh.c

@@ -126,7 +126,6 @@ static int ehci_hcd_sh_probe(struct platform_device *pdev)
 	priv = devm_kzalloc(&pdev->dev, sizeof(struct ehci_sh_priv),
 	priv = devm_kzalloc(&pdev->dev, sizeof(struct ehci_sh_priv),
 			    GFP_KERNEL);
 			    GFP_KERNEL);
 	if (!priv) {
 	if (!priv) {
-		dev_dbg(&pdev->dev, "error allocating priv data\n");
 		ret = -ENOMEM;
 		ret = -ENOMEM;
 		goto fail_request_resource;
 		goto fail_request_resource;
 	}
 	}