]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
authorMike Snitzer <snitzer@redhat.com>
Tue, 22 Jul 2014 22:38:27 +0000 (18:38 -0400)
committerMike Snitzer <snitzer@redhat.com>
Tue, 22 Jul 2014 22:38:27 +0000 (18:38 -0400)
mm/slab_common.c

index 735e01a0db6f8c3ffa28150e5faedf362dc5b874..d31c4bacc6a203b0bc555bd76c2a97e90e78fa6c 100644 (file)
@@ -55,7 +55,7 @@ static int kmem_cache_sanity_check(const char *name, size_t size)
                        continue;
                }
 
-#if !defined(CONFIG_SLUB) || !defined(CONFIG_SLUB_DEBUG_ON)
+#if !defined(CONFIG_SLUB)
                if (!strcmp(s->name, name)) {
                        pr_err("%s (%s): Cache name already exists.\n",
                               __func__, name);