Commit 00669231 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: davinci_nand: Remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 844a72c5
...@@ -619,10 +619,8 @@ static int nand_davinci_probe(struct platform_device *pdev) ...@@ -619,10 +619,8 @@ static int nand_davinci_probe(struct platform_device *pdev)
return -ENODEV; return -ENODEV;
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
if (!info) { if (!info)
dev_err(&pdev->dev, "unable to allocate memory\n");
return -ENOMEM; return -ENOMEM;
}
platform_set_drvdata(pdev, info); platform_set_drvdata(pdev, info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment