diff options
| author | Tomasz Buchert <[email protected]> | 2010-10-27 15:33:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-27 18:03:08 -0700 |
| commit | d5de4ddb1bc430289bede76c0d87cabee93f749a (patch) | |
| tree | 142ebbc437d2d6e5c47eda6c37847eb058d2851e /tools/perf/scripts/python | |
| parent | abffc0207f12563f17bbde96e4cc0d9f3d7e2a53 (diff) | |
cgroup_freezer: unnecessary test in cgroup_freezing_or_frozen()
The root freezer_state is always CGROUP_THAWED so we can remove the
special case from the code. The test itself can be handy and is extracted
to static function.
Signed-off-by: Tomasz Buchert <[email protected]>
Cc: Matt Helsley <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: Li Zefan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions