提交 844a72c5 编写于 作者: J Jingoo Han 提交者: Brian Norris

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: NJingoo Han <jg1.han@samsung.com>
Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
上级 51b37b8a
...@@ -319,11 +319,8 @@ static int __init txx9ndfmc_probe(struct platform_device *dev) ...@@ -319,11 +319,8 @@ static int __init txx9ndfmc_probe(struct platform_device *dev)
continue; continue;
txx9_priv = kzalloc(sizeof(struct txx9ndfmc_priv), txx9_priv = kzalloc(sizeof(struct txx9ndfmc_priv),
GFP_KERNEL); GFP_KERNEL);
if (!txx9_priv) { if (!txx9_priv)
dev_err(&dev->dev, "Unable to allocate "
"TXx9 NDFMC MTD device structure.\n");
continue; continue;
}
chip = &txx9_priv->chip; chip = &txx9_priv->chip;
mtd = &txx9_priv->mtd; mtd = &txx9_priv->mtd;
mtd->owner = THIS_MODULE; mtd->owner = THIS_MODULE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册