diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-30 22:32:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-30 22:32:09 +0200 |
commit | 23a749f2857088547c8ef3966e96b37c71510a1b (patch) | |
tree | a3739420ab6e9a18e997b3b54e179c9b1905d21c /src/core/swap.c | |
parent | 6ed796c827f7e89a7900713b132301bced1a73c6 (diff) | |
parent | 4ed2f1b1f106b84276eaf8cc4d27cca54653845e (diff) |
Merge pull request #1419 from keszybz/shell-completion
Shell completion tweaks
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index bef457069f..1f94d32318 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -1398,21 +1398,6 @@ static bool swap_supported(void) { return supported; } -static const char* const swap_state_table[_SWAP_STATE_MAX] = { - [SWAP_DEAD] = "dead", - [SWAP_ACTIVATING] = "activating", - [SWAP_ACTIVATING_DONE] = "activating-done", - [SWAP_ACTIVE] = "active", - [SWAP_DEACTIVATING] = "deactivating", - [SWAP_ACTIVATING_SIGTERM] = "activating-sigterm", - [SWAP_ACTIVATING_SIGKILL] = "activating-sigkill", - [SWAP_DEACTIVATING_SIGTERM] = "deactivating-sigterm", - [SWAP_DEACTIVATING_SIGKILL] = "deactivating-sigkill", - [SWAP_FAILED] = "failed" -}; - -DEFINE_STRING_TABLE_LOOKUP(swap_state, SwapState); - static const char* const swap_exec_command_table[_SWAP_EXEC_COMMAND_MAX] = { [SWAP_EXEC_ACTIVATE] = "ExecActivate", [SWAP_EXEC_DEACTIVATE] = "ExecDeactivate", |