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:
8ecb66b
)
mtd: mpc5121_nfc: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 26 Dec 2013 03:19:55 +0000
(12:19 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 7 Jan 2014 18:07:01 +0000
(10:07 -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/mpc5121_nfc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/mpc5121_nfc.c
b/drivers/mtd/nand/mpc5121_nfc.c
index d744cf7989785e64f64145fa58fed379412b285e..61e2abc216ad321bf742ee2dcc1e57e3693c4192 100644
(file)
--- a/
drivers/mtd/nand/mpc5121_nfc.c
+++ b/
drivers/mtd/nand/mpc5121_nfc.c
@@
-653,10
+653,8
@@
static int mpc5121_nfc_probe(struct platform_device *op)
}
prv = devm_kzalloc(dev, sizeof(*prv), GFP_KERNEL);
- if (!prv) {
- dev_err(dev, "Memory exhausted!\n");
+ if (!prv)
return -ENOMEM;
- }
mtd = &prv->mtd;
chip = &prv->chip;