mtd: plat-ram: Remove unnecessary OOM messages
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Apr 5 02:59:02 EDT 2014
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e61e4f40b1f3a34fa370f7fda1bff6d66032516d
Commit: e61e4f40b1f3a34fa370f7fda1bff6d66032516d
Parent: c00cb1b7748aa0e6d2efeb8f4486d788ae61765e
Author: Jingoo Han <jg1.han at samsung.com>
AuthorDate: Thu Feb 6 15:12:15 2014 +0900
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Mar 10 22:42:24 2014 -0700
mtd: plat-ram: 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/maps/plat-ram.c | 1 -
1 file changed, 1 deletion(-)
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;
}
More information about the linux-mtd-cvs
mailing list