mtd: cs553x_nand: Remove unnecessary OOM messages
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Jan 28 00:59:05 EST 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1f4bd45a7e4238b154791c24c32d5619b2046531
Commit: 1f4bd45a7e4238b154791c24c32d5619b2046531
Parent: 4caab3ba593a6999070ecd5ba96ea7791444db29
Author: Jingoo Han <jg1.han at samsung.com>
AuthorDate: Thu Dec 26 12:06:46 2013 +0900
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Jan 3 11:22:29 2014 -0800
mtd: cs553x_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 at samsung.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/nand/cs553x_nand.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index d469a9a..88109d3 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -199,7 +199,6 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
/* Allocate memory for MTD device structure and private data */
new_mtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
if (!new_mtd) {
- printk(KERN_WARNING "Unable to allocate CS553X NAND MTD device structure.\n");
err = -ENOMEM;
goto out;
}
More information about the linux-mtd-cvs
mailing list