s3: Slightly simplify grant_fsp_oplock_type
authorVolker Lendecke <vl@samba.org>
Wed, 30 May 2012 09:28:19 +0000 (11:28 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 16 Jun 2012 04:07:55 +0000 (21:07 -0700)
commit985dbedf2764b63048d4ae7a2fd319b1e3560229
treec687f23e7cf2fb043d9eeccc5aa889f86b5e2a7f
parentd1d36d2563685a71874e5d584662dfd8de9418a5
s3: Slightly simplify grant_fsp_oplock_type

The "else" is not necessary, we did a return in the if-branch

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c