mm: Remove slab destructors from kmem_cache_create().
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / block / bsg.c
index baa04e7adf197331c34d4b0b46f8956f92b7b4b9..f2992e72b841e232d5d8b0296b6af9ddb90ac31b 100644 (file)
@@ -1043,7 +1043,7 @@ static int __init bsg_init(void)
        dev_t devid;
 
        bsg_cmd_cachep = kmem_cache_create("bsg_cmd",
-                               sizeof(struct bsg_command), 0, 0, NULL, NULL);
+                               sizeof(struct bsg_command), 0, 0, NULL);
        if (!bsg_cmd_cachep) {
                printk(KERN_ERR "bsg: failed creating slab cache\n");
                return -ENOMEM;