mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
9e3677a813
commit
36cbcf85eb
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
if (!nc) {
|
||||
printk(KERN_ERR "orion_nand: failed to allocate device structure.\n");
|
||||
ret = -ENOMEM;
|
||||
goto no_res;
|
||||
}
|
||||
|
@ -110,7 +109,6 @@ static int __init orion_nand_probe(struct platform_device *pdev)
|
|||
board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data),
|
||||
GFP_KERNEL);
|
||||
if (!board) {
|
||||
printk(KERN_ERR "orion_nand: failed to allocate board structure.\n");
|
||||
ret = -ENOMEM;
|
||||
goto no_res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue