Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1308181

[PATCH] sched: remove duplicated sched_group_set_shares()

From Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Newsgroups linux.kernel
Subject [PATCH] sched: remove duplicated sched_group_set_shares()
Date 2016-01-13 10:00 +0100
Message-ID <qQprA-5DL-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


There is a sched_group_set_shares() under "#ifdef CONFIG_FAIR_GROUP_SCHED",
remove the duplicated one outside.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
---
 kernel/sched/sched.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index b242775..141a16c 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -313,7 +313,6 @@ extern void init_tg_cfs_entry(struct task_group *tg, struct cfs_rq *cfs_rq,
 			struct sched_entity *se, int cpu,
 			struct sched_entity *parent);
 extern void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
-extern int sched_group_set_shares(struct task_group *tg, unsigned long shares);
 
 extern void __refill_cfs_bandwidth_runtime(struct cfs_bandwidth *cfs_b);
 extern void start_cfs_bandwidth(struct cfs_bandwidth *cfs_b);
-- 
1.8.4.2

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] sched: remove duplicated sched_group_set_shares() Dongsheng Yang <yangds.fnst@cn.fujitsu.com> - 2016-01-13 10:00 +0100

csiph-web