diff options
author | Volker Lendecke <vl@samba.org> | 2013-09-02 09:40:46 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-06 13:40:58 +0200 |
commit | 4ecf8b4db69e5a7d09c3d269145d7b04914efff3 (patch) | |
tree | acbcc84f62a34f55d8146fb5fab2f18e3a97b489 /source3 | |
parent | 051b9121bc8e113239f7207a68860b6472d117d4 (diff) | |
download | samba-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>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 2 |
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, |