projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a21552
)
mtd: devices: elm: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 6 Feb 2014 06:08:53 +0000
(15:08 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:24 +0000
(22:42 -0700)
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>
Acked-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/elm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/devices/elm.c
b/drivers/mtd/devices/elm.c
index e2c073c5a7ccee77a06abe9b1ba2992e01445735..f160d2c6cd5945ec64e15d86fa258cb7452b0615 100644
(file)
--- a/
drivers/mtd/devices/elm.c
+++ b/
drivers/mtd/devices/elm.c
@@
-354,10
+354,8
@@
static int elm_probe(struct platform_device *pdev)
struct elm_info *info;
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
- if (!info) {
- dev_err(&pdev->dev, "failed to allocate memory\n");
+ if (!info)
return -ENOMEM;
- }
info->dev = &pdev->dev;