diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/cgroup.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 02e09c0e98ab..a3098046250b 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -85,7 +85,6 @@ struct cgroup_subsys_state { | |||
85 | /* bits in struct cgroup_subsys_state flags field */ | 85 | /* bits in struct cgroup_subsys_state flags field */ |
86 | enum { | 86 | enum { |
87 | CSS_ROOT, /* This CSS is the root of the subsystem */ | 87 | CSS_ROOT, /* This CSS is the root of the subsystem */ |
88 | CSS_REMOVED, /* This CSS is dead */ | ||
89 | }; | 88 | }; |
90 | 89 | ||
91 | /* Caller must verify that the css is not for root cgroup */ | 90 | /* Caller must verify that the css is not for root cgroup */ |
@@ -108,11 +107,6 @@ static inline void css_get(struct cgroup_subsys_state *css) | |||
108 | __css_get(css, 1); | 107 | __css_get(css, 1); |
109 | } | 108 | } |
110 | 109 | ||
111 | static inline bool css_is_removed(struct cgroup_subsys_state *css) | ||
112 | { | ||
113 | return test_bit(CSS_REMOVED, &css->flags); | ||
114 | } | ||
115 | |||
116 | /* | 110 | /* |
117 | * Call css_tryget() to take a reference on a css if your existing | 111 | * Call css_tryget() to take a reference on a css if your existing |
118 | * (known-valid) reference isn't already ref-counted. Returns false if | 112 | * (known-valid) reference isn't already ref-counted. Returns false if |