diff --git a/source/smbd/open.c b/source/smbd/open.c index b42c1bacc34..589f1a32b43 100644 --- a/source/smbd/open.c +++ b/source/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;