Commit dcb7e5d5 by Michel Normand Committed by Daniel Lezcano

remove unused _config_console function

it's usage was removed by patch 28a4b0e5 "open the console later" Signed-off-by: 's avatarMichel Normand <normand@fr.ibm.com> Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent 26b2d152
......@@ -620,21 +620,6 @@ static int config_cap_drop(const char *key, char *value,
return ret;
}
static int _config_console(const char *key, char *value, struct lxc_conf *lxc_conf)
{
int fd;
fd = open(value, O_CLOEXEC | O_RDWR | O_CREAT | O_APPEND, 0600);
if (fd < 0) {
SYSERROR("failed to open '%s'", value);
return -1;
}
lxc_conf->console.peer = fd;
return 0;
}
static int config_console(const char *key, char *value,
struct lxc_conf *lxc_conf)
{
......
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