smbd: Remove a pointless NULL check
authorVolker Lendecke <vl@samba.org>
Mon, 13 Nov 2023 12:48:42 +0000 (13:48 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 15 Nov 2023 05:10:35 +0000 (05:10 +0000)
commit6b0cfcdbc3755709f928ac4bc010d130deb042fe
tree5e4a8d2bdf86887456e59c2c2c3e4a9a57a5c9d6
parent5991f4e66b59cda65142a68f9db4e0fa1b7b147d
smbd: Remove a pointless NULL check

We've dereferenced smb_fname before, and talloc_move() never fails.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c