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:
95cdd5a
)
mtd: jz4740_nand: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 26 Dec 2013 03:09:47 +0000
(12:09 +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/jz4740_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/jz4740_nand.c
b/drivers/mtd/nand/jz4740_nand.c
index a264b888c66cc9153e0f160af0c50e4675826a93..a2c804de156bc71d31407020b9ffb133a408b4f1 100644
(file)
--- a/
drivers/mtd/nand/jz4740_nand.c
+++ b/
drivers/mtd/nand/jz4740_nand.c
@@
-416,10
+416,8
@@
static int jz_nand_probe(struct platform_device *pdev)
uint8_t nand_maf_id = 0, nand_dev_id = 0;
nand = kzalloc(sizeof(*nand), GFP_KERNEL);
- if (!nand) {
- dev_err(&pdev->dev, "Failed to allocate device structure.\n");
+ if (!nand)
return -ENOMEM;
- }
ret = jz_nand_ioremap_resource(pdev, "mmio", &nand->mem, &nand->base);
if (ret)