Commit a79cf704 by Daniel Lezcano

remove configure dead code

Remove the old configuration remaining code. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 5e4a62bf
......@@ -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))
......
......@@ -147,11 +147,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
*/
extern int lxc_unconfigure(const char *name);
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment