diff options
author | Li Zefan <lizefan@huawei.com> | 2013-03-05 16:05:28 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-03-06 11:24:28 +0100 |
commit | 19a37d1cd5465c10d669a296a2ea24b4c985363b (patch) | |
tree | e178cd83bb047694881c81a673d3e4cc6d8fea5c /include/linux/sched.h | |
parent | 6dbe51c251a327e012439c4772097a13df43c5b8 (diff) | |
download | op-kernel-dev-19a37d1cd5465c10d669a296a2ea24b4c985363b.zip op-kernel-dev-19a37d1cd5465c10d669a296a2ea24b4c985363b.tar.gz |
sched: Remove some dummy functions
No one will call those functions if CONFIG_SCHED_DEBUG=n.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/5135A748.3050206@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index d35d2b6..2715fbb 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -127,18 +127,6 @@ extern void proc_sched_show_task(struct task_struct *p, struct seq_file *m); extern void proc_sched_set_task(struct task_struct *p); extern void print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq); -#else -static inline void -proc_sched_show_task(struct task_struct *p, struct seq_file *m) -{ -} -static inline void proc_sched_set_task(struct task_struct *p) -{ -} -static inline void -print_cfs_rq(struct seq_file *m, int cpu, struct cfs_rq *cfs_rq) -{ -} #endif /* |