]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/nand/cs553x_nand.c
mtd: nand: omap: fix ecclayout->oobfree->length
[~andy/linux] / drivers / mtd / nand / cs553x_nand.c
index d469a9a1dea0de7ea5f31172995c6e79411e7822..88109d375ae7f65546a2225e894e19ade98c41ba 100644 (file)
@@ -199,7 +199,6 @@ static int __init cs553x_init_one(int cs, int mmio, unsigned long adr)
        /* Allocate memory for MTD device structure and private data */
        new_mtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
        if (!new_mtd) {
-               printk(KERN_WARNING "Unable to allocate CS553X NAND MTD device structure.\n");
                err = -ENOMEM;
                goto out;
        }