-/* It's OK to miss some, as long as we make progress. */
-static bool close_conns(void)
-{
- bool ret = false;
- struct io_conn *conn;
-
- while ((conn = list_pop(&closing, struct io_conn, closing)) != NULL) {
- assert(conn->plan[IO_IN].status == IO_CLOSING);
- assert(conn->plan[IO_OUT].status == IO_CLOSING);
-
- del_conn(conn);
- ret = true;
- }
- return ret;
-}
-