summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/cs553x_nand.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-12-26 07:06:46 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 23:22:29 +0400
commit1f4bd45a7e4238b154791c24c32d5619b2046531 (patch)
tree608b50ed69d574baadff52e0fbdfb3bcf4193d21 /drivers/mtd/nand/cs553x_nand.c
parent4caab3ba593a6999070ecd5ba96ea7791444db29 (diff)
downloadlinux-1f4bd45a7e4238b154791c24c32d5619b2046531.tar.xz
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@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/cs553x_nand.c')
-rw-r--r--drivers/mtd/nand/cs553x_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index d469a9a1dea0..88109d375ae7 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;
}