projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad0753
)
mtd: cafe_nand: Remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 26 Dec 2013 03:04:58 +0000
(12:04 +0900)
committer
Brian Norris
<computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:29 +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/cafe_nand.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/cafe_nand.c
b/drivers/mtd/nand/cafe_nand.c
index c34985a55101b0606f76ed580f1e13ac562913e2..f2f64addb5e87119d8b72e9122565ae3ec9150f9 100644
(file)
--- a/
drivers/mtd/nand/cafe_nand.c
+++ b/
drivers/mtd/nand/cafe_nand.c
@@
-640,10
+640,8
@@
static int cafe_nand_probe(struct pci_dev *pdev,
pci_set_master(pdev);
mtd = kzalloc(sizeof(*mtd) + sizeof(struct cafe_priv), GFP_KERNEL);
- if (!mtd) {
- dev_warn(&pdev->dev, "failed to alloc mtd_info\n");
+ if (!mtd)
return -ENOMEM;
- }
cafe = (void *)(&mtd[1]);
mtd->dev.parent = &pdev->dev;
This page took
0.02538 seconds
and
5
git commands to generate.