From f72f9915680f6c36351fb89049000b68c749565c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 31 Oct 2023 15:35:59 +0100 Subject: [PATCH] smbd: Remove an assert that never triggers We've checked that right above. Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/smbd/smb2_trans2.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.47.3