summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 902b230e60..cc0295e749 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -328,8 +328,6 @@ NTSTATUS do_lock_cancel(files_struct *fsp,
bool ok = False;
struct byte_range_lock *br_lck = NULL;
- SMB_ASSERT(blr);
-
if (!fsp->can_lock) {
return fsp->is_directory ?
NT_STATUS_INVALID_DEVICE_REQUEST : NT_STATUS_INVALID_HANDLE;