]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Remove a no-op call to init_strict_lock_struct
authorVolker Lendecke <vl@samba.org>
Thu, 16 May 2024 10:05:38 +0000 (12:05 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2024 04:23:29 +0000 (04:23 +0000)
commitff43158c5286f664f4eefd0b8e135960aa2d1109
tree9558b5a53211b11e80f12ee610d3bccbe5ea8f30
parent661532c46c04bb4f80865874749b1e75671885d8
smbd: Remove a no-op call to init_strict_lock_struct

"lock" is a variable on the stack, and initializing it is all that
init_strict_lock_struct does. We've done the corresponding checks
already in smbd_smb2_read_send

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/smbd/smb2_read.c