summaryrefslogtreecommitdiff
path: root/src/core/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-30 22:32:09 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-30 22:32:09 +0200
commit23a749f2857088547c8ef3966e96b37c71510a1b (patch)
treea3739420ab6e9a18e997b3b54e179c9b1905d21c /src/core/unit.c
parent6ed796c827f7e89a7900713b132301bced1a73c6 (diff)
parent4ed2f1b1f106b84276eaf8cc4d27cca54653845e (diff)
Merge pull request #1419 from keszybz/shell-completion
Shell completion tweaks
Diffstat (limited to 'src/core/unit.c')
-rw-r--r--src/core/unit.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/unit.c b/src/core/unit.c
index 30d4e00c94..33c0317ce0 100644
--- a/src/core/unit.c
+++ b/src/core/unit.c
@@ -3729,14 +3729,3 @@ int unit_fail_if_symlink(Unit *u, const char* where) {
return -ELOOP;
}
-
-static const char* const unit_active_state_table[_UNIT_ACTIVE_STATE_MAX] = {
- [UNIT_ACTIVE] = "active",
- [UNIT_RELOADING] = "reloading",
- [UNIT_INACTIVE] = "inactive",
- [UNIT_FAILED] = "failed",
- [UNIT_ACTIVATING] = "activating",
- [UNIT_DEACTIVATING] = "deactivating"
-};
-
-DEFINE_STRING_TABLE_LOOKUP(unit_active_state, UnitActiveState);