summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-09-02 09:40:46 +0000
committerMichael Adam <obnox@samba.org>2013-09-06 13:40:58 +0200
commit4ecf8b4db69e5a7d09c3d269145d7b04914efff3 (patch)
treeacbcc84f62a34f55d8146fb5fab2f18e3a97b489
parent051b9121bc8e113239f7207a68860b6472d117d4 (diff)
downloadsamba-4ecf8b4db69e5a7d09c3d269145d7b04914efff3.tar.gz
samba-4ecf8b4db69e5a7d09c3d269145d7b04914efff3.tar.bz2
samba-4ecf8b4db69e5a7d09c3d269145d7b04914efff3.zip
smbd: Remove a silly "? true : false"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index fc6a94c5e8..6ced3c2c39 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1355,7 +1355,7 @@ static bool file_has_brlocks(files_struct *fsp)
if (!br_lck)
return false;
- return br_lck->num_locks > 0 ? true : false;
+ return (br_lck->num_locks > 0);
}
static void grant_fsp_oplock_type(files_struct *fsp,