Remove redundant calls to set_nonblocking().
[sliver-openvswitch.git] / lib / stream-unix.c
index a5dfd55..9046da1 100644 (file)
@@ -88,12 +88,6 @@ punix_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp)
         return errno;
     }
 
-    error = set_nonblocking(fd);
-    if (error) {
-        close(fd);
-        return error;
-    }
-
     if (listen(fd, 10) < 0) {
         error = errno;
         VLOG_ERR("%s: listen: %s", name, strerror(error));