From: Daniel Lezcano Date: Mon, 19 Jul 2010 14:04:41 +0000 (+0200) Subject: Remove dead code X-Git-Tag: lxc-0.7.2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c4a945262b8d110c3f8e0655ca50cb05d383c74;p=thirdparty%2Flxc.git Remove dead code This function is no longer used. Signed-off-by: Daniel Lezcano --- 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;