diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/hurdselect.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hurd/hurdselect.c b/hurd/hurdselect.c index 4544cb753b..859b351032 100644 --- a/hurd/hurdselect.c +++ b/hurd/hurdselect.c @@ -407,14 +407,6 @@ _hurd_select (int nfds, } } - if (err == MACH_RCV_TIMED_OUT) - /* This is the normal value for ERR. We might have timed out and - read no messages. Otherwise, after receiving the first message, - we poll for more messages. We receive with a timeout of 0 to - effect a poll, so ERR is MACH_RCV_TIMED_OUT when the poll finds no - message waiting. */ - err = 0; - if (got) /* At least one descriptor is known to be ready now, so we will return success. */ |