server: Remove a redundant call to set_fd_events().

We will always call set_fd_events() again in sock_reselect().

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2022-05-06 01:44:28 -05:00 committed by Alexandre Julliard
parent 7de36f8e98
commit 5a4e39795f
1 changed files with 0 additions and 3 deletions

View File

@ -1112,9 +1112,6 @@ static void sock_poll_event( struct fd *fd, int event )
if (debug_level)
fprintf(stderr, "socket %p select event: %x\n", sock, event);
/* we may change event later, remove from loop here */
if (event & (POLLERR|POLLHUP)) set_fd_events( sock->fd, -1 );
switch (sock->state)
{
case SOCK_UNCONNECTED: