From: Peter Chen Date: Tue, 14 Oct 2014 07:56:01 +0000 (+0800) Subject: usb: host: ehci-mv: delete unnecessary 'out of memory' messages X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03cfba992ddaf92a026548f3b5ad565425253f27;p=linux-beck.git usb: host: ehci-mv: delete unnecessary 'out of memory' messages The memory subsystem has already had similar message for it. Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c index 08147c35f836..b1855c1b6cd4 100644 --- a/drivers/usb/host/ehci-mv.c +++ b/drivers/usb/host/ehci-mv.c @@ -153,7 +153,6 @@ static int mv_ehci_probe(struct platform_device *pdev) ehci_mv = devm_kzalloc(&pdev->dev, sizeof(*ehci_mv), GFP_KERNEL); if (ehci_mv == NULL) { - dev_err(&pdev->dev, "cannot allocate ehci_hcd_mv\n"); retval = -ENOMEM; goto err_put_hcd; }