From 67ba58404e6187699c806bfe19a3e6a70faf9738 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 13 Jan 2010 07:40:45 +0100 Subject: [PATCH] filter_common: Use sched_min_delay() helper. --- filter_common.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/filter_common.c b/filter_common.c index 7af5ace6..13171920 100644 --- a/filter_common.c +++ b/filter_common.c @@ -133,9 +133,6 @@ void generic_filter_pre_select(struct sched *s, struct task *t) struct filter_node *fn = container_of(t, struct filter_node, task); t->error = 0; - if (btr_node_status(fn->btrn, fn->min_iqs, BTR_NT_INTERNAL) != 0) { - s->timeout.tv_sec = 0; - s->timeout.tv_usec = 1; - } + if (btr_node_status(fn->btrn, fn->min_iqs, BTR_NT_INTERNAL) != 0) + sched_min_delay(s); } - -- 2.39.5