]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 7150f5dce9578da61105e41ae4f9ce05de410acc..68b668b0e60a0a231436fcde4e41bd23083a032d 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);