summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-21 07:30:24 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-21 07:30:24 -0800
commit6af6366bf2c0f707d8e3a11fcc5b92d7b6c2f42c (patch)
tree59a373c1c78ed494916b3b08584b943e83813e70 /kernel
parent1c89f59efd93656fed79467767834e9782b86187 (diff)
parent060af79063737ee94f570998bd8e5e0f0a6dea38 (diff)
Merge "sched/tune: remove duplicate allow_attach in schedtune_cgrp_subsys"
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched/tune.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/sched/tune.c b/kernel/sched/tune.c
index 3c2e21c5a5a0..b2ff383d6062 100644
--- a/kernel/sched/tune.c
+++ b/kernel/sched/tune.c
@@ -517,12 +517,6 @@ void schedtune_enqueue_task(struct task_struct *p, int cpu)
raw_spin_unlock_irqrestore(&bg->lock, irq_flags);
}
-int schedtune_allow_attach(struct cgroup_taskset *tset)
-{
- /* We always allows tasks to be moved between existing CGroups */
- return 0;
-}
-
int schedtune_can_attach(struct cgroup_taskset *tset)
{
struct task_struct *task;
@@ -898,7 +892,6 @@ schedtune_css_free(struct cgroup_subsys_state *css)
struct cgroup_subsys schedtune_cgrp_subsys = {
.css_alloc = schedtune_css_alloc,
.css_free = schedtune_css_free,
- .allow_attach = schedtune_allow_attach,
.can_attach = schedtune_can_attach,
.cancel_attach = schedtune_cancel_attach,
.legacy_cftypes = files,