From 1c4a945262b8d110c3f8e0655ca50cb05d383c74 Mon Sep 17 00:00:00 2001 From: Daniel Lezcano Date: Mon, 19 Jul 2010 16:04:41 +0200 Subject: [PATCH] Remove dead code This function is no longer used. Signed-off-by: Daniel Lezcano --- src/lxc/state.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/lxc/state.c b/src/lxc/state.c index b29ae09d3..672001179 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; -- 2.47.2