[PATCH 13/23] mtd: pasemi_nand: Remove unnecessary OOM messages
Jingoo Han
jg1.han at samsung.com
Wed Dec 25 22:11:12 EST 2013
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han at samsung.com>
---
drivers/mtd/nand/pasemi_nand.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c
index 90f871a..24cf045 100644
--- a/drivers/mtd/nand/pasemi_nand.c
+++ b/drivers/mtd/nand/pasemi_nand.c
@@ -114,8 +114,6 @@ static int pasemi_nand_probe(struct platform_device *ofdev)
pasemi_nand_mtd = kzalloc(sizeof(struct mtd_info) +
sizeof(struct nand_chip), GFP_KERNEL);
if (!pasemi_nand_mtd) {
- printk(KERN_WARNING
- "Unable to allocate PASEMI NAND MTD device structure\n");
err = -ENOMEM;
goto out;
}
--
1.7.10.4
More information about the linux-mtd
mailing list