summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b4eeeca595..0f34992454 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2487,8 +2487,6 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
* We have the share entry *locked*.....
*/
- SMB_ASSERT(lck != NULL);
-
/* Delete streams if create_disposition requires it */
if (!new_file_created && clear_ads(create_disposition) &&
!is_ntfs_stream_smb_fname(smb_fname)) {