From c66395c972f3588db110f6545ccfe85318df19e8 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sun, 28 Nov 2010 02:15:55 +0100 Subject: scullc: main: Removes slab destructor argument for kmem_cache_create invocation --- scullc/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scullc/main.c b/scullc/main.c index 5bfbbac..abd43ea 100644 --- a/scullc/main.c +++ b/scullc/main.c @@ -557,7 +557,7 @@ int scullc_init(void) } scullc_cache = kmem_cache_create("scullc", scullc_quantum, - 0, SLAB_HWCACHE_ALIGN, NULL, NULL); /* no ctor/dtor */ + 0, SLAB_HWCACHE_ALIGN, NULL); /* no ctor/dtor */ if (!scullc_cache) { scullc_cleanup(); return -ENOMEM; -- cgit v1.2.1-18-gbd029