diff mbox

[v2,6/6] sched/dl: Remove unnecessary definitions in cpudeadline.h

Message ID 1415099585-31174-6-git-send-email-pang.xunlei@linaro.org
State New
Headers show

Commit Message

pang.xunlei Nov. 4, 2014, 11:13 a.m. UTC
Actually, cpudl_set() and cpudl_init() can never be used without
CONFIG_SMP.

Signed-off-by: pang.xunlei <pang.xunlei@linaro.org>
---
 kernel/sched/cpudeadline.h |    3 ---
 1 file changed, 3 deletions(-)
diff mbox

Patch

diff --git a/kernel/sched/cpudeadline.h b/kernel/sched/cpudeadline.h
index d79e4d8..7096e5a 100644
--- a/kernel/sched/cpudeadline.h
+++ b/kernel/sched/cpudeadline.h
@@ -34,9 +34,6 @@  int cpudl_find(struct cpudl *cp, struct task_struct *p,
 void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int set_flags);
 int cpudl_init(struct cpudl *cp);
 void cpudl_cleanup(struct cpudl *cp);
-#else
-#define cpudl_set(cp, cpu, dl) do { } while (0)
-#define cpudl_init() do { } while (0)
 #endif /* CONFIG_SMP */
 
 #endif /* _LINUX_CPUDL_H */