remove unused _config_console function

it's usage was removed by patch
28a4b0e55c
"open the console later"

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
Michel Normand 2010-04-29 10:03:59 +02:00 committed by Daniel Lezcano
parent 26b2d15268
commit dcb7e5d5d2

View File

@ -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)
{