]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove dead code
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 19 Jul 2010 14:04:41 +0000 (16:04 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 19 Jul 2010 14:04:41 +0000 (16:04 +0200)
This function is no longer used.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/state.c

index b29ae09d357687db919fd990139c0a6d63f78cdf..672001179499c25f4589012ccb613f0ca50480f9 100644 (file)
@@ -63,14 +63,6 @@ lxc_state_t lxc_str2state(const char *state)
        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)
 {
        char *nsgroup;