[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-devel
Subject: [lxc-devel] [patch -lxc 6/6] Remove dead code
From: dlezcano () fr ! ibm ! com (Daniel Lezcano)
Date: 2010-07-12 12:56:48
Message-ID: 1278939408-4086-7-git-send-email-dlezcano () fr ! ibm ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic