summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/run.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/run.c b/libglusterfs/src/run.c
index 93fe12aed10..5d7f1d207b1 100644
--- a/libglusterfs/src/run.c
+++ b/libglusterfs/src/run.c
@@ -290,9 +290,6 @@ runner_start (runner_t *runner)
} else
ret = -1;
#else /* !GF_LINUX_HOST_OS */
-#ifdef F_CLOSEM /* NetBSD */
- (void)fcntl(3, F_CLOSEM);
-#else /* !F_CLOSEM */
struct rlimit rl;
ret = getrlimit (RLIMIT_NOFILE, &rl);
GF_ASSERT (ret == 0);
@@ -301,7 +298,6 @@ runner_start (runner_t *runner)
if (i != xpi[1])
close (i);
}
-#endif /* !F_CLOSEM */
#endif /* !GF_LINUX_HOST_OS */
}