poll, port: follow up to r1819860.
This test is redundant now, axe it (no functional change).
@@ -406,7 +406,6 @@ static apr_status_t impl_pollset_poll(apr_pollset_t *pollset,
pollset_lock_rings();
- if (nget) {
for (i = 0, j = 0; i < nget; i++) {
ep = (pfd_elem_t *)pollset->p->port_set[i].portev_user;
if ((pollset->flags & APR_POLLSET_WAKEABLE) &&
@@ -439,7 +438,6 @@ static apr_status_t impl_pollset_poll(apr_pollset_t *pollset,
*descriptors = pollset->p->result_set;
}
}
- }
/* Shift all PFDs in the Dead Ring to the Free Ring */
APR_RING_CONCAT(&(pollset->p->free_ring), &(pollset->p->dead_ring), pfd_elem_t, link);
