]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/ubi/eba.c
[SCSI] Merge up to linux-2.6 head
[linux-2.6-omap-h63xx.git] / drivers / mtd / ubi / eba.c
index d847ee1da3d95956ecd2d3143fcfe7ce9a5dac7c..74002945b71b6d1123f21c0f2766eca37d2f53e8 100644 (file)
@@ -940,10 +940,6 @@ static void ltree_entry_ctor(void *obj, struct kmem_cache *cache,
 {
        struct ltree_entry *le = obj;
 
-       if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) !=
-           SLAB_CTOR_CONSTRUCTOR)
-               return;
-
        le->users = 0;
        init_rwsem(&le->mutex);
 }