]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/lustre/lustre/llite/vvp_lock.c
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[~andy/linux] / drivers / staging / lustre / lustre / llite / vvp_lock.c
index 9b8712bccd92f02a5cf55bd0920f784db330fbc1..e16b31e4ff728b178ec6aa6558938cd79137673a 100644 (file)
@@ -63,8 +63,7 @@ static unsigned long vvp_lock_weigh(const struct lu_env *env,
 {
        struct ccc_object *cob = cl2ccc(slice->cls_obj);
 
-       ENTRY;
-       RETURN(atomic_read(&cob->cob_mmap_cnt) > 0 ? ~0UL >> 2 : 0);
+       return atomic_read(&cob->cob_mmap_cnt) > 0 ? ~0UL >> 2 : 0;
 }
 
 static const struct cl_lock_operations vvp_lock_ops = {