summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/open.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b42c1bacc3..589f1a32b4 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -34,10 +34,6 @@ static int fd_open(struct connection_struct *conn, char *fname,
int flags, mode_t mode)
{
int fd;
-#ifdef O_NONBLOCK
- flags |= O_NONBLOCK;
-#endif
-
#ifdef O_NOFOLLOW
if (!lp_symlinks(SNUM(conn)))
flags |= O_NOFOLLOW;