Patchwork [4/8] mtd: plat-ram: Remove unnecessary OOM messages

login
register
mail settings
Submitter Jingoo Han
Date Feb. 6, 2014, 6:12 a.m.
Message ID <000601cf2302$61bbad30$25330790$%han@samsung.com>
Download mbox | patch
Permalink /patch/317359/
State Accepted
Commit e61e4f40b1f3a34fa370f7fda1bff6d66032516d
Headers show

Comments

Jingoo Han - Feb. 6, 2014, 6:12 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/maps/plat-ram.c |    1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 76ace85..d597e89 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -137,7 +137,6 @@  static int platram_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 exit_error;
 	}