diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index e9ec642932ee..422cb19f156e 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -2994,7 +2994,6 @@ static void cgroup_event_remove(struct work_struct *work) | |||
2994 | remove); | 2994 | remove); |
2995 | struct cgroup *cgrp = event->cgrp; | 2995 | struct cgroup *cgrp = event->cgrp; |
2996 | 2996 | ||
2997 | /* TODO: check return code */ | ||
2998 | event->cft->unregister_event(cgrp, event->cft, event->eventfd); | 2997 | event->cft->unregister_event(cgrp, event->cft, event->eventfd); |
2999 | 2998 | ||
3000 | eventfd_ctx_put(event->eventfd); | 2999 | eventfd_ctx_put(event->eventfd); |
@@ -3615,7 +3614,7 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss) | |||
3615 | * @ss: the subsystem to load | 3614 | * @ss: the subsystem to load |
3616 | * | 3615 | * |
3617 | * This function should be called in a modular subsystem's initcall. If the | 3616 | * This function should be called in a modular subsystem's initcall. If the |
3618 | * subsytem is built as a module, it will be assigned a new subsys_id and set | 3617 | * subsystem is built as a module, it will be assigned a new subsys_id and set |
3619 | * up for use. If the subsystem is built-in anyway, work is delegated to the | 3618 | * up for use. If the subsystem is built-in anyway, work is delegated to the |
3620 | * simpler cgroup_init_subsys. | 3619 | * simpler cgroup_init_subsys. |
3621 | */ | 3620 | */ |