summaryrefslogtreecommitdiff
path: root/fd.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
commitfb391ffad2ccd5b76d6a87e4d2e83ff5282edee5 (patch)
tree506ee14bb61f2d21df84fc391a792f8a0ed496b7 /fd.c
parente259c7ec60a84280dbf7e2cf041a6fec79f53e1f (diff)
downloadxscope-fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5.tar.gz
Remove StaticMaxFD now that all uses now allocate dynamically
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'fd.c')
-rw-r--r--fd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fd.c b/fd.c
index 9bff364..be42d4b 100644
--- a/fd.c
+++ b/fd.c
@@ -98,11 +98,6 @@ InitializeFD(void)
if (MaxFD > FD_SETSIZE) {
MaxFD = FD_SETSIZE;
}
- if (MaxFD > StaticMaxFD)
- {
- fprintf(stderr, "Recompile with larger StaticMaxFD value %d\n", MaxFD);
- MaxFD = StaticMaxFD;
- }
/* allocate space for a File Descriptor (FD) Table */
FDD = calloc (MaxFD, sizeof (struct FDDescriptor));