server: Remove redundant calls to sock_reselect().

These are already done in accept_socket() and accept_into_socket() respectively.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-09-30 10:37:53 -05:00 committed by Alexandre Julliard
parent b1f2b61be0
commit cb5edb4b12
1 changed files with 0 additions and 4 deletions

View File

@ -1427,7 +1427,6 @@ DECL_HANDLER(accept_socket)
{
reply->handle = alloc_handle( current->process, &sock->obj, req->access, req->attributes );
sock->wparam = reply->handle; /* wparam for message is the socket handle */
sock_reselect( sock );
release_object( &sock->obj );
}
}
@ -1450,10 +1449,7 @@ DECL_HANDLER(accept_into_socket)
}
if (accept_into_socket( sock, acceptsock ))
{
acceptsock->wparam = req->ahandle; /* wparam for message is the socket handle */
sock_reselect( acceptsock );
}
release_object( acceptsock );
release_object( sock );
}