mm: Remove slab destructors from kmem_cache_create().
[platform/adaptation/renesas_rcar/renesas_kernel.git] / arch / powerpc / kernel / rtas_flash.c
index f72118c..62b7bf2 100644 (file)
@@ -804,7 +804,7 @@ int __init rtas_flash_init(void)
 
        flash_block_cache = kmem_cache_create("rtas_flash_cache",
                                RTAS_BLK_SIZE, RTAS_BLK_SIZE, 0,
-                               rtas_block_ctor, NULL);
+                               rtas_block_ctor);
        if (!flash_block_cache) {
                printk(KERN_ERR "%s: failed to create block cache\n",
                                __FUNCTION__);