]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Cleanup lxc_wait
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 2 Sep 2012 00:22:39 +0000 (20:22 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Mon, 12 Nov 2012 18:17:30 +0000 (13:17 -0500)
 - Remove unused timeout_handler function.
 - Remove unsused variables from main()

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc_wait.c

index 385392695e15cac7693499570dcb09189fc974d1..9c654152a22fd97f0577d78442ad40dfee1064b9 100644 (file)
@@ -78,17 +78,8 @@ Options :\n\
        .timeout = -1,
 };
 
-static void timeout_handler(int signal)
-{
-       exit(-1);
-}
-
 int main(int argc, char *argv[])
 {
-       struct lxc_msg msg;
-       int s[MAX_STATE] = { }, fd;
-       int state, ret;
-
        if (lxc_arguments_parse(&my_args, argc, argv))
                return -1;