summaryrefslogtreecommitdiff
path: root/xserver/os/osinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/os/osinit.c')
-rw-r--r--xserver/os/osinit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xserver/os/osinit.c b/xserver/os/osinit.c
index e18197565..35eecdbbd 100644
--- a/xserver/os/osinit.c
+++ b/xserver/os/osinit.c
@@ -194,10 +194,6 @@ OsInit(void)
rlim.rlim_cur = limitNoFile;
else
rlim.rlim_cur = rlim.rlim_max;
-#if 0
- if (rlim.rlim_cur > MAXSOCKS)
- rlim.rlim_cur = MAXSOCKS;
-#endif
(void)setrlimit(RLIMIT_NOFILE, &rlim);
}
}