Commit 1c4a9452 by Daniel Lezcano

Remove dead code

This function is no longer used. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 6f0a4200
...@@ -63,14 +63,6 @@ lxc_state_t lxc_str2state(const char *state) ...@@ -63,14 +63,6 @@ lxc_state_t lxc_str2state(const char *state)
return -1; return -1;
} }
int lxc_rmstate(const char *name)
{
char file[MAXPATHLEN];
snprintf(file, MAXPATHLEN, LXCPATH "/%s/state", name);
unlink(file);
return 0;
}
static int freezer_state(const char *name) static int freezer_state(const char *name)
{ {
char *nsgroup; char *nsgroup;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment