Don't set t->error in ->pre_select().
[paraslash.git] / recv_common.c
index 2d6aa74..eb5fe57 100644 (file)
@@ -130,7 +130,6 @@ int generic_recv_pre_select(struct sched *s, struct task *t)
        struct receiver_node *rn = container_of(t, struct receiver_node, task);
        int ret = btr_node_status(rn->btrn, 0, BTR_NT_ROOT);
 
-       t->error = 0;
        if (ret < 0)
                sched_min_delay(s);
        return ret;