diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-25 22:19:55 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-07 13:07:01 -0500 |
commit | 61a623fe0d451c3977bc9f5a56bbef76cee8818e (patch) | |
tree | b1df677f39404d1885bb261e02f01b33ae0172e6 /drivers/mtd | |
parent | 8ecb66ba39546f17d0338c3ba5ae56e9ffb3639c (diff) |
mtd: mpc5121_nfc: 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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/mpc5121_nfc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/mpc5121_nfc.c b/drivers/mtd/nand/mpc5121_nfc.c index d744cf798978..61e2abc216ad 100644 --- a/drivers/mtd/nand/mpc5121_nfc.c +++ b/drivers/mtd/nand/mpc5121_nfc.c | |||
@@ -653,10 +653,8 @@ static int mpc5121_nfc_probe(struct platform_device *op) | |||
653 | } | 653 | } |
654 | 654 | ||
655 | prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL); | 655 | prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL); |
656 | if (!prv) { | 656 | if (!prv) |
657 | dev_err(dev, "Memory exhausted!\n"); | ||
658 | return -ENOMEM; | 657 | return -ENOMEM; |
659 | } | ||
660 | 658 | ||
661 | mtd = &prv->mtd; | 659 | mtd = &prv->mtd; |
662 | chip = &prv->chip; | 660 | chip = &prv->chip; |