diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-25 22:13:59 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:30 -0500 |
commit | 006692319bf0362f053a9e8a56a1416611aaa116 (patch) | |
tree | af2bde6d8fc2feb8f18ce723bb883608a821f959 | |
parent | 844a72c5af0dc1e8f45f0beb8306b9b1887fe7c1 (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r-- | drivers/mtd/nand/davinci_nand.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 0104d262dc89..a4989ec6292e 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c | |||
@@ -619,10 +619,8 @@ static int nand_davinci_probe(struct platform_device *pdev) | |||
619 | return -ENODEV; | 619 | return -ENODEV; |
620 | 620 | ||
621 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); | 621 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); |
622 | if (!info) { | 622 | if (!info) |
623 | dev_err(&pdev->dev, "unable to allocate memory\n"); | ||
624 | return -ENOMEM; | 623 | return -ENOMEM; |
625 | } | ||
626 | 624 | ||
627 | platform_set_drvdata(pdev, info); | 625 | platform_set_drvdata(pdev, info); |
628 | 626 | ||