From 9080cc153cc2b09881c3245becbd68534db18d7c Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 17 Apr 2011 16:53:54 -0400 Subject: clean up handling of thread/nothread mode, locking --- src/stdio/ftrylockfile.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/stdio/ftrylockfile.c') 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; -- cgit v1.2.1