From 475970f66af19c7e35032be11d19326063a590e5 Mon Sep 17 00:00:00 2001 From: Chesnokov Gleb Date: Wed, 15 Dec 2021 17:29:51 +0300 Subject: [PATCH] Minor fixes for the previous commit --- scst/src/scst_mem.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scst/src/scst_mem.c b/scst/src/scst_mem.c index a0bba7662..0f4a7a0ff 100644 --- a/scst/src/scst_mem.c +++ b/scst/src/scst_mem.c @@ -1379,12 +1379,7 @@ static void sgv_pool_init_cache(struct sgv_pool *pool, int cache_num, pool->caches[cache_num] = kmem_cache_create( pool->cache_names[cache_num], size, 0, per_cpu ? SCST_SLAB_FLAGS : - (SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN), NULL -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23)) - , NULL); -#else - ); -#endif + (SCST_SLAB_FLAGS|SLAB_HWCACHE_ALIGN), NULL); return; }