diff options
author | dim <dim@FreeBSD.org> | 2013-12-25 16:25:54 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-12-25 16:25:54 +0000 |
commit | a95ffecba43c4a9f14a2dd96639444d9ff334880 (patch) | |
tree | 7029e1bcb4132f60ec5ed23ab54d182c730fb622 /sys/kern | |
parent | c039e1a7e4e0448b767322e4ee8f98ffe3deb6ae (diff) | |
download | FreeBSD-src-a95ffecba43c4a9f14a2dd96639444d9ff334880.zip FreeBSD-src-a95ffecba43c4a9f14a2dd96639444d9ff334880.tar.gz |
In sys/kern/sched_ule.c, remove static function sched_both(), which is
unused since r232207.
MFC after: 3 days
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/sched_ule.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 31c0dd9..96f8578e 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -813,30 +813,6 @@ sched_highest(const struct cpu_group *cg, cpuset_t mask, int minload) return high.cs_cpu; } -/* - * Simultaneously find the highest and lowest loaded cpu reachable via - * cg. - */ -static inline void -sched_both(const struct cpu_group *cg, cpuset_t mask, int *lowcpu, int *highcpu) -{ - struct cpu_search high; - struct cpu_search low; - - low.cs_cpu = -1; - low.cs_prefer = -1; - low.cs_pri = -1; - low.cs_limit = INT_MAX; - low.cs_mask = mask; - high.cs_cpu = -1; - high.cs_limit = -1; - high.cs_mask = mask; - cpu_search_both(cg, &low, &high); - *lowcpu = low.cs_cpu; - *highcpu = high.cs_cpu; - return; -} - static void sched_balance_group(struct cpu_group *cg) { |