From 4d00a99dc8b16a1a65874d4906ec30b7bc1e3634 Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Fri, 29 Dec 2017 12:56:34 +0000 Subject: [PATCH] xen/credit2: Drop unnecessary bit test Signed-off-by: Andrew Cooper Acked-by: George Dunlap Reviewed-by: Dario Faggioli --- xen/common/sched_credit2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 18f39cafe4..ee9768e598 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -2063,7 +2063,7 @@ csched2_vcpu_sleep(const struct scheduler *ops, struct vcpu *vc) update_load(ops, svc->rqd, svc, -1, NOW()); runq_remove(svc); } - else if ( svc->flags & CSFLAG_delayed_runq_add ) + else __clear_bit(__CSFLAG_delayed_runq_add, &svc->flags); } -- 2.39.5