ocfs2: Remove pointless !!
authorMark Fasheh <mfasheh@suse.com>
Mon, 6 Oct 2008 23:16:08 +0000 (16:16 -0700)
committerMark Fasheh <mfasheh@suse.com>
Tue, 14 Oct 2008 00:02:44 +0000 (17:02 -0700)
ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or
one value.

Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/stackglue.c

index 7150f5d..68b668b 100644 (file)
@@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(ocfs2_dlm_dump_lksb);
 
 int ocfs2_stack_supports_plocks(void)
 {
-       return !!(active_stack && active_stack->sp_ops->plock);
+       return active_stack && active_stack->sp_ops->plock;
 }
 EXPORT_SYMBOL_GPL(ocfs2_stack_supports_plocks);