uml: tidy fault code
[firefly-linux-kernel-4.4.55.git] / kernel / fork.c
index ffccefb28b6a3d1680ba32e38130fd1b96b0007c..b7d169def9424f5cff4f1c89d772711dd0a5b44c 100644 (file)
@@ -1425,8 +1425,7 @@ static void sighand_ctor(void *data, struct kmem_cache *cachep, unsigned long fl
 {
        struct sighand_struct *sighand = data;
 
-       if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) ==
-                                       SLAB_CTOR_CONSTRUCTOR)
+       if (flags & SLAB_CTOR_CONSTRUCTOR)
                spin_lock_init(&sighand->siglock);
 }