mtd: fsl_elbc_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=3fc697cadf7d46258454a242d59926c94aa95e2d
Commit: 3fc697cadf7d46258454a242d59926c94aa95e2d
Parent: bf521a3b80060a666d41d70d06a1e150009a7805
Author: Jingoo Han <jg1.han at samsung.com>
AuthorDate: Thu Dec 26 12:08:24 2013 +0900
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Fri Jan 3 11:22:30 2014 -0800
mtd: fsl_elbc_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/fsl_elbc_nand.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c
index c966fc7..d32f1d3 100644
--- a/drivers/mtd/nand/fsl_elbc_nand.c
+++ b/drivers/mtd/nand/fsl_elbc_nand.c
@@ -847,7 +847,6 @@ static int fsl_elbc_nand_probe(struct platform_device *pdev)
if (!fsl_lbc_ctrl_dev->nand) {
elbc_fcm_ctrl = kzalloc(sizeof(*elbc_fcm_ctrl), GFP_KERNEL);
if (!elbc_fcm_ctrl) {
- dev_err(dev, "failed to allocate memory\n");
mutex_unlock(&fsl_elbc_nand_mutex);
ret = -ENOMEM;
goto err;
More information about the linux-mtd-cvs
mailing list