git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: remove printk's for [kv][mz]alloc failures
[pandora-kernel.git]
/
drivers
/
mtd
/
inftlcore.c
diff --git
a/drivers/mtd/inftlcore.c
b/drivers/mtd/inftlcore.c
index
d7592e6
..
c9a31e6
100644
(file)
--- a/
drivers/mtd/inftlcore.c
+++ b/
drivers/mtd/inftlcore.c
@@
-67,10
+67,8
@@
static void inftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
inftl = kzalloc(sizeof(*inftl), GFP_KERNEL);
- if (!inftl) {
- printk(KERN_WARNING "INFTL: Out of memory for data structures\n");
+ if (!inftl)
return;
- }
inftl->mbd.mtd = mtd;
inftl->mbd.devnum = -1;