aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-06 01:12:15 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-03-11 01:42:24 -0400
commite61e4f40b1f3a34fa370f7fda1bff6d66032516d (patch)
treef7a53866fc799088a497c527c06e9203a74fce8b
parentc00cb1b7748aa0e6d2efeb8f4486d788ae61765e (diff)
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@samsung.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
-rw-r--r--drivers/mtd/maps/plat-ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 76ace85ccdc6..d597e89f2692 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)
137 137
138 info = kzalloc(sizeof(*info), GFP_KERNEL); 138 info = kzalloc(sizeof(*info), GFP_KERNEL);
139 if (info == NULL) { 139 if (info == NULL) {
140 dev_err(&pdev->dev, "no memory for flash info\n");
141 err = -ENOMEM; 140 err = -ENOMEM;
142 goto exit_error; 141 goto exit_error;
143 } 142 }