usb: host: ehci-sh: delete unnecessary 'out of memory' messages
authorPeter Chen <peter.chen@freescale.com>
Tue, 14 Oct 2014 07:56:02 +0000 (15:56 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:42:04 +0000 (15:42 -0800)
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>
drivers/usb/host/ehci-sh.c

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