common: Remove superfluous debug output from dotlock.c.

* common/dotlock.c (dotlock_create_unix): Remove debug output.
--

This was left over from developement about 10 years ago.  Exhibits
itself when using sshfs.

GnuPG-bug-id: 5193
This commit is contained in:
Werner Koch 2020-12-21 17:37:35 +01:00
parent e0cbb97925
commit fc0eaa9add
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 0 additions and 2 deletions

View File

@ -773,8 +773,6 @@ dotlock_create_unix (dotlock_t h, const char *file_to_lock)
}
strcpy (stpcpy (h->lockname, file_to_lock), EXTSEP_S "lock");
UNLOCK_all_lockfiles ();
if (h->use_o_excl)
my_debug_1 ("locking for '%s' done via O_EXCL\n", h->lockname);
return h;