[lxc-devel] [patch -lxc 6/6] Remove dead code

Daniel Lezcano dlezcano at fr.ibm.com
Mon Jul 12 12:56:48 UTC 2010


This function is no longer used.

Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
---
 src/lxc/state.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/src/lxc/state.c b/src/lxc/state.c
index b29ae09..6720011 100644
--- a/src/lxc/state.c
+++ b/src/lxc/state.c
@@ -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;
-- 
1.7.0.4





More information about the lxc-devel mailing list