Commit 009d3750 authored by Mark Fasheh's avatar Mark Fasheh

ocfs2: Remove pointless !!

ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or
one value.
Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
parent 5a095611
...@@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(ocfs2_dlm_dump_lksb); ...@@ -290,7 +290,7 @@ EXPORT_SYMBOL_GPL(ocfs2_dlm_dump_lksb);
int ocfs2_stack_supports_plocks(void) 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); EXPORT_SYMBOL_GPL(ocfs2_stack_supports_plocks);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment