smbd: Simplify logic in remove_stale_share_mode_entries
authorVolker Lendecke <vl@samba.org>
Mon, 30 Jul 2018 11:21:26 +0000 (13:21 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 7 Sep 2018 15:26:18 +0000 (17:26 +0200)
commit6be25d5683d5fbfddab4f22c4dbe6299969d1978
tree5d0c63221b3ed2e59925afa282b8bd631a7ea8b2
parent6a76a317793d6ae8fa1ce05f4faacbd0978fd5cb
smbd: Simplify logic in remove_stale_share_mode_entries

To me, an early "continue" is easier to follow than a "else".

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/locking/locking.c