smbd: Slightly simplify downgrade_lease()
authorVolker Lendecke <vl@samba.org>
Fri, 14 Sep 2018 14:03:57 +0000 (16:03 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Oct 2018 16:13:20 +0000 (18:13 +0200)
commit664808af09bf42206af2ce15c9e9b5d773ab56ca
tree78f174933b416cc68612d7f3b28ad7c9da95fbd8
parent4980e60dfc5b9e6b96ea8c8de4d2e911c9c2f011
smbd: Slightly simplify downgrade_lease()

As much as I dislike }else{ and prefer early returns, I even more
dislike asking for the same condition in two different ways.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/oplock.c