diff options
-rw-r--r-- | lib/libc/stdio/fdopen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdio/fdopen.c b/lib/libc/stdio/fdopen.c index 072d322..26e2cd7 100644 --- a/lib/libc/stdio/fdopen.c +++ b/lib/libc/stdio/fdopen.c @@ -52,12 +52,8 @@ fdopen(fd, mode) const char *mode; { FILE *fp; - static int nofile; int flags, oflags, fdflags, tmp; - if (nofile == 0) - nofile = getdtablesize(); - /* * File descriptors are a full int, but _file is only a short. * If we get a valid file descriptor that is greater than |