diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-06 01:12:15 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-03-11 01:42:24 -0400 |
commit | e61e4f40b1f3a34fa370f7fda1bff6d66032516d (patch) | |
tree | f7a53866fc799088a497c527c06e9203a74fce8b /drivers/mtd/maps | |
parent | c00cb1b7748aa0e6d2efeb8f4486d788ae61765e (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>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/plat-ram.c | 1 |
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 | } |