mtd: remove printk's for [kv][mz]alloc failures
[linux-2.6-block.git] / drivers / mtd / nftlcore.c
index b155666acfbe5a1c07ebfa37b1b1ec3c1140d07c..f3b3239746c8464aad7b68a15f104cb64b530d62 100644 (file)
@@ -67,10 +67,8 @@ static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
 
        nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);
 
-       if (!nftl) {
-               printk(KERN_WARNING "NFTL: out of memory for data structures\n");
+       if (!nftl)
                return;
-       }
 
        nftl->mbd.mtd = mtd;
        nftl->mbd.devnum = -1;