From ea189afd7b0883a6f222ed628420ed5bd25743d9 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 31 Dec 2013 03:22:40 +0000 Subject: [PATCH] afh_recv: Don't set t->error unnecessarily. It is always wrong to set t->error directly as this can only confuse the scheduler. --- afh_recv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/afh_recv.c b/afh_recv.c index 0c7b3946..941ec4e9 100644 --- a/afh_recv.c +++ b/afh_recv.c @@ -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; -- 2.39.5