Patchwork [05/23] mtd: bf5xx_nand: Remove unnecessary OOM messages

login
register
mail settings
Submitter Jingoo Han
Date Dec. 26, 2013, 3:04 a.m.
Message ID <008701cf01e7$2acdfe90$8069fbb0$%han@samsung.com>
Download mbox | patch
Permalink /patch/305166/
State Accepted
Commit aad075318333e09640bceec3db4e282ac440c625
Headers show

Comments

Jingoo Han - Dec. 26, 2013, 3:04 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/bf5xx_nand.c |    1 -
 1 file changed, 1 deletion(-)
Mike Frysinger - Dec. 26, 2013, 7:53 a.m.
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike

Patch

diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 2c42e12..94f55db 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -745,7 +745,6 @@  static int bf5xx_nand_probe(struct platform_device *pdev)
 
 	info = kzalloc(sizeof(*info), GFP_KERNEL);
 	if (info == NULL) {
-		dev_err(&pdev->dev, "no memory for flash info\n");
 		err = -ENOMEM;
 		goto out_err_kzalloc;
 	}