projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844a72c
)
mtd: davinci_nand: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 26 Dec 2013 03:13:59 +0000
(12:13 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:30 +0000
(11:22 -0800)
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>
drivers/mtd/nand/davinci_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/davinci_nand.c
b/drivers/mtd/nand/davinci_nand.c
index 0104d262dc89d4d65c872b72bc65851f705b4c96..a4989ec6292efa0127ba4cc84d13fd07ad09fe4b 100644
(file)
--- a/
drivers/mtd/nand/davinci_nand.c
+++ b/
drivers/mtd/nand/davinci_nand.c
@@
-619,10
+619,8
@@
static int nand_davinci_probe(struct platform_device *pdev)
return -ENODEV;
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
- if (!info) {
- dev_err(&pdev->dev, "unable to allocate memory\n");
+ if (!info)
return -ENOMEM;
- }
platform_set_drvdata(pdev, info);