summaryrefslogtreecommitdiff
path: root/src/core/slice.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-28 14:30:36 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-09-28 15:09:34 -0400
commit7e55de3b9648a47286a9b49253f95b1e0d65287a (patch)
tree4e26d493e0ebfffe226f478cab035f4b7f08b2c1 /src/core/slice.c
parente16972e6265d5e9326ec21d7e90f715989f96548 (diff)
Move all unit states to basic/ and extend systemctl --state=help
Diffstat (limited to 'src/core/slice.c')
-rw-r--r--src/core/slice.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/slice.c b/src/core/slice.c
index b414462066..063024134a 100644
--- a/src/core/slice.c
+++ b/src/core/slice.c
@@ -287,13 +287,6 @@ static int slice_enumerate(Manager *m) {
return 0;
}
-static const char* const slice_state_table[_SLICE_STATE_MAX] = {
- [SLICE_DEAD] = "dead",
- [SLICE_ACTIVE] = "active"
-};
-
-DEFINE_STRING_TABLE_LOOKUP(slice_state, SliceState);
-
const UnitVTable slice_vtable = {
.object_size = sizeof(Slice),
.cgroup_context_offset = offsetof(Slice, cgroup_context),