From: Li Zefan Date: Tue, 5 Mar 2013 08:05:28 +0000 (+0800) Subject: sched: Remove some dummy functions X-Git-Tag: upstream/snapshot3+hdmi~5187^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=19a37d1cd5465c10d669a296a2ea24b4c985363b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git sched: Remove some dummy functions No one will call those functions if CONFIG_SCHED_DEBUG=n. Signed-off-by: Li Zefan Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/5135A748.3050206@huawei.com Signed-off-by: Ingo Molnar --- 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 /*