]> Pileus Git - ~andy/linux/blobdiff - drivers/mtd/nand/edb7312.c
[PATCH] bcm43xx: workaround init_board vs. IRQ race
[~andy/linux] / drivers / mtd / nand / edb7312.c
index ba5a2174a4082c0ec09a6d6c76c17a67d5848127..516c0e5e564cb2b03a8a02a73e0c58a90798ced8 100644 (file)
@@ -198,9 +198,6 @@ static void __exit ep7312_cleanup(void)
        /* Release resources, unregister device */
        nand_release(ap7312_mtd);
 
-       /* Free internal data buffer */
-       kfree(this->data_buf);
-
        /* Free the MTD device structure */
        kfree(ep7312_mtd);
 }