summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 47566e0393..8070f4b9b3 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -844,10 +844,6 @@ BOOL rename_share_filename(struct messaging_context *msg_ctx,
char *frm = NULL;
int i;
- if (!lck) {
- return False;
- }
-
DEBUG(10, ("rename_share_filename: servicepath %s newname %s\n",
servicepath, newname));