Commit 36cbcf85 authored by Jingoo Han's avatar Jingoo Han Committed by Brian Norris

mtd: orion_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 9e3677a8
...@@ -87,7 +87,6 @@ static int __init orion_nand_probe(struct platform_device *pdev) ...@@ -87,7 +87,6 @@ static int __init orion_nand_probe(struct platform_device *pdev)
nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL); nc = kzalloc(sizeof(struct nand_chip) + sizeof(struct mtd_info), GFP_KERNEL);
if (!nc) { if (!nc) {
printk(KERN_ERR "orion_nand: failed to allocate device structure.\n");
ret = -ENOMEM; ret = -ENOMEM;
goto no_res; goto no_res;
} }
...@@ -110,7 +109,6 @@ static int __init orion_nand_probe(struct platform_device *pdev) ...@@ -110,7 +109,6 @@ static int __init orion_nand_probe(struct platform_device *pdev)
board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data), board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data),
GFP_KERNEL); GFP_KERNEL);
if (!board) { if (!board) {
printk(KERN_ERR "orion_nand: failed to allocate board structure.\n");
ret = -ENOMEM; ret = -ENOMEM;
goto no_res; goto no_res;
} }
......
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