ACPI: elide a non-zero test on a result that is never 0
[deliverable/linux.git] / mm / slob.c
index e2c3c0ec546373857ba3c2132edde98cdf5e8bb0..6038cbadf796bb165a2b7bf7c9fbe707297f6f53 100644 (file)
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -533,7 +533,8 @@ struct kmem_cache *kmem_cache_create(const char *name, size_t size,
 {
        struct kmem_cache *c;
 
-       c = slob_alloc(sizeof(struct kmem_cache), flags, 0, -1);
+       c = slob_alloc(sizeof(struct kmem_cache),
+               flags, ARCH_KMALLOC_MINALIGN, -1);
 
        if (c) {
                c->name = name;
This page took 0.088648 seconds and 5 git commands to generate.