smbd: Simplify find_share_mode_entry
authorVolker Lendecke <vl@samba.org>
Tue, 3 Sep 2013 14:38:47 +0000 (14:38 +0000)
committerMichael Adam <obnox@samba.org>
Fri, 6 Sep 2013 11:33:39 +0000 (13:33 +0200)
commita7d742937644373e0e2e75003d04c118e34385ff
treedc27058f70d4ee61817301d730090d8f8d669fc8
parent196da5925b6263b616149f8c4c8d67e1572dea4f
smbd: Simplify find_share_mode_entry

There's no point checking the validity of the "entry" argument more
than once

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/locking/locking.c