mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ocfs2: Remove pointless !!
ocfs2_stack_supports_plocks() doesn't need this to properly return a zero or one value. Signed-off-by: Mark Fasheh <mfasheh@suse.com>
This commit is contained in:
parent
5a09561199
commit
009d37502a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue