X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstdio%2Fftrylockfile.c;h=0b0e44aaf4fb6d7da1922b44e80b0926870376d1;hp=67f4b6a070ca2c1c833c8d92401e6f8ac75c251f;hb=9080cc153cc2b09881c3245becbd68534db18d7c;hpb=eb0e8fa0b1960cff4bd65ebefc798f70273b0bc9 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;