drm/i915: use linux/stddef.h due to "isystem: trim/fixup stdarg.h and other headers"
[linux-2.6-microblaze.git] / drivers / mtd / nftlmount.c
index fd331bc..75e86ed 100644 (file)
@@ -188,17 +188,14 @@ device is already correct.
                /* memory alloc */
                nftl->EUNtable = kmalloc_array(nftl->nb_blocks, sizeof(u16),
                                               GFP_KERNEL);
-               if (!nftl->EUNtable) {
-                       printk(KERN_NOTICE "NFTL: allocation of EUNtable failed\n");
+               if (!nftl->EUNtable)
                        return -ENOMEM;
-               }
 
                nftl->ReplUnitTable = kmalloc_array(nftl->nb_blocks,
                                                    sizeof(u16),
                                                    GFP_KERNEL);
                if (!nftl->ReplUnitTable) {
                        kfree(nftl->EUNtable);
-                       printk(KERN_NOTICE "NFTL: allocation of ReplUnitTable failed\n");
                        return -ENOMEM;
                }