iscsi-scstd: No need to cal set_non_blocking() twice on the same fd during accept.

set_non_blocking() is being called in alloc_and_init_conn(), so no need to call it again later

Signed-off-by: Yan Burman <yanb@mellanox.com>

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Yan Burman
2014-02-11 08:55:49 +00:00
parent d81f105ebb
commit 3d3f5250ce

View File

@@ -442,8 +442,6 @@ static void accept_connection(int listen)
conn->is_discovery = tcp_is_discovery;
conn_read_pdu(conn);
set_non_blocking(fd);
incoming_cnt++;
out: