afh_recv: Don't set t->error unnecessarily.
[paraslash.git] / afh_recv.c
index 0c7b3946377b6d25be9549834920054e3034de0d..941ec4e94416e1e130555de9c7956567044ae1f0 100644 (file)
@@ -60,7 +60,6 @@ static int afh_execute(struct btr_node *btrn, const char *cmd, char **result)
                if (x >= pard->afhi.chunks_total)
                        return -ERRNO_TO_PARA_ERROR(EINVAL);
                pard->first_chunk = pard->current_chunk = x;
-               rn->task.error = 0;
                return 1;
        }
        return -E_BTR_NAVAIL;