From: Mark Fasheh Date: Mon, 6 Oct 2008 23:16:08 +0000 (-0700) Subject: ocfs2: Remove pointless !! X-Git-Tag: v2.6.28-rc1~572^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=009d37502a7b9fc89741e66b4454afca4edc1c26;p=linux-2.6-omap-h63xx.git ocfs2: Remove pointless !! ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or one value. Signed-off-by: Mark Fasheh --- diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c index 7150f5dce95..68b668b0e60 100644 --- a/fs/ocfs2/stackglue.c +++ b/fs/ocfs2/stackglue.c @@ -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);