From: Volker Lendecke Date: Tue, 31 Oct 2023 14:35:59 +0000 (+0100) Subject: smbd: Remove an assert that never triggers X-Git-Tag: talloc-2.4.2~838 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f72f9915680f6c36351fb89049000b68c749565c;p=thirdparty%2Fsamba.git smbd: Remove an assert that never triggers We've checked that right above. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/smbd/smb2_trans2.c b/source3/smbd/smb2_trans2.c index 788045584d0..604d7890587 100644 --- a/source3/smbd/smb2_trans2.c +++ b/source3/smbd/smb2_trans2.c @@ -221,9 +221,6 @@ NTSTATUS get_ea_names_from_fsp(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } - /* should be the case that fsp != NULL */ - SMB_ASSERT(fsp != NULL); - sizeret = SMB_VFS_FLISTXATTR(fsp, ea_namelist, ea_namelist_size);