diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-12-25 22:12:03 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:30 -0500 |
commit | 844a72c5af0dc1e8f45f0beb8306b9b1887fe7c1 (patch) | |
tree | f49b044c4dccda9c823ac39dd39abe337d183f16 /drivers/mtd/nand | |
parent | 51b37b8a72eff5982948eb4d840a40d9b9f55bed (diff) |
mtd: txx9ndfmc: 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/nand')
-rw-r--r-- | drivers/mtd/nand/txx9ndfmc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mtd/nand/txx9ndfmc.c b/drivers/mtd/nand/txx9ndfmc.c index 235714a421dd..c1622a5ba814 100644 --- a/drivers/mtd/nand/txx9ndfmc.c +++ b/drivers/mtd/nand/txx9ndfmc.c | |||
@@ -319,11 +319,8 @@ static int __init txx9ndfmc_probe(struct platform_device *dev) | |||
319 | continue; | 319 | continue; |
320 | txx9_priv = kzalloc(sizeof(struct txx9ndfmc_priv), | 320 | txx9_priv = kzalloc(sizeof(struct txx9ndfmc_priv), |
321 | GFP_KERNEL); | 321 | GFP_KERNEL); |
322 | if (!txx9_priv) { | 322 | if (!txx9_priv) |
323 | dev_err(&dev->dev, "Unable to allocate " | ||
324 | "TXx9 NDFMC MTD device structure.\n"); | ||
325 | continue; | 323 | continue; |
326 | } | ||
327 | chip = &txx9_priv->chip; | 324 | chip = &txx9_priv->chip; |
328 | mtd = &txx9_priv->mtd; | 325 | mtd = &txx9_priv->mtd; |
329 | mtd->owner = THIS_MODULE; | 326 | mtd->owner = THIS_MODULE; |