]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - udp_recv.c
sched: Introduce sched_{read,write}_ok().
[paraslash.git] / udp_recv.c
index 67846b141926e80baba083edda9177fa8b3b6acf..cc6e2049968cec0628d42cdc41066ee34294e49d 100644 (file)
@@ -68,7 +68,7 @@ static int udp_recv_post_select(__a_unused struct sched *s, void *context)
        ret = -E_UDP_OVERRUN;
        if (iovcnt == 0)
                goto out;
-       ret = readv_nonblock(rn->fd, iov, iovcnt, &s->rfds, &num_bytes);
+       ret = readv_nonblock(rn->fd, iov, iovcnt, &num_bytes);
        if (num_bytes == 0)
                goto out;
        readv_ret = ret;
@@ -186,7 +186,6 @@ err:
        return ret;
 }
 
-/** See \ref recv_init(). */
 const struct receiver lsg_recv_cmd_com_udp_user_data = {
        .open = udp_recv_open,
        .close = udp_recv_close,