smbd: Simplify find_oplock_types a bit
authorVolker Lendecke <vl@samba.org>
Mon, 2 Sep 2013 12:33:40 +0000 (12:33 +0000)
committerMichael Adam <obnox@samba.org>
Tue, 15 Oct 2013 21:38:27 +0000 (23:38 +0200)
commitc33015c069de285cf6e14bacb1e3a7937e466ef3
treef49dfecdd907715bc4ec3df2ccb5b9cb8d27bc97
parentf50b6da7d5862aa8d4a3ea04df9b9121b083e2a8
smbd: Simplify find_oplock_types a bit

Define a variable to dereference lck->data just once. Believe it or not,
this saves a few bytes .o with -O3 :-)

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