Patchwork [07/23] mtd: cmx270_nand: Remove unnecessary OOM messages

login
register
mail settings
Submitter Jingoo Han
Date Dec. 26, 2013, 3:06 a.m.
Message ID <008901cf01e7$679f25b0$36dd7110$%han@samsung.com>
Download mbox | patch
Permalink /patch/305168/
State Accepted
Commit 4caab3ba593a6999070ecd5ba96ea7791444db29
Headers show

Comments

Jingoo Han - Dec. 26, 2013, 3:06 a.m.
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>
---
 drivers/mtd/nand/cmx270_nand.c |    1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c
index 39b2ef8..66ec95e 100644
--- a/drivers/mtd/nand/cmx270_nand.c
+++ b/drivers/mtd/nand/cmx270_nand.c
@@ -164,7 +164,6 @@  static int __init cmx270_init(void)
 				  sizeof(struct nand_chip),
 				  GFP_KERNEL);
 	if (!cmx270_nand_mtd) {
-		pr_debug("Unable to allocate CM-X270 NAND MTD device structure.\n");
 		ret = -ENOMEM;
 		goto err_kzalloc;
 	}