]> git.proxmox.com Git - mirror_lxc.git/commitdiff
remove configure dead code
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 12 Oct 2009 20:02:06 +0000 (22:02 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Mon, 12 Oct 2009 20:02:06 +0000 (22:02 +0200)
Remove the old configuration remaining code.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/conf.c
src/lxc/conf.h
src/lxc/create.c

index 725d8e16054b7fd1a24cba1b36ec8676002a83b5..e2d2da7bb230e317f734cecf4602c4895a132507 100644 (file)
@@ -929,11 +929,6 @@ int lxc_conf_init(struct lxc_conf *conf)
        return 0;
 }
 
-int lxc_configure(const char *name, struct lxc_conf *conf)
-{
-       return 0;
-}
-
 int lxc_unconfigure(const char *name)
 {
        if (conf_has_utsname(name) && unconfigure_utsname(name))
index f72e5f5d49094a17582d3056a71ec3437187f158..3b3a1d9667942ab656623e090a2a32815c93fcf7 100644 (file)
@@ -146,11 +146,6 @@ struct lxc_conf {
  */
 extern int lxc_conf_init(struct lxc_conf *conf);
 
-/*
- * Configure the external resources for the container
- */
-extern int lxc_configure(const char *name, struct lxc_conf *conf);
-
 /*
  * Remove the resources created by the configuration
  */
index afb920c1c17d423b66cfc5a85a1372b4f0c9d629..4f0d92ca987d9fe5eb14a3a06b505c318b77a2e7 100644 (file)
@@ -127,11 +127,6 @@ int lxc_create(const char *name, struct lxc_conf *conf)
        if (lock < 0)
                goto err;
 
-       if (lxc_configure(name, conf)) {
-               ERROR("failed to set configuration for %s", name);
-               goto err_state;
-       }
-
        if (conf->rcfile && copy_config_file(name, conf->rcfile)) {
                ERROR("failed to copy the configuration file");
                goto err_state;