summaryrefslogtreecommitdiff
path: root/src/stdio/ftrylockfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/ftrylockfile.c')
-rw-r--r--src/stdio/ftrylockfile.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/stdio/ftrylockfile.c b/src/stdio/ftrylockfile.c
index 67f4b6a0..0b0e44aa 100644
--- a/src/stdio/ftrylockfile.c
+++ b/src/stdio/ftrylockfile.c
@@ -4,7 +4,6 @@
int ftrylockfile(FILE *f)
{
int tid = pthread_self()->tid;
- if (!libc.lockfile) libc.lockfile = __lockfile;
if (f->lock == tid) {
if (f->lockcount == INT_MAX)
return -1;