From: Donghwa Jeong Date: Mon, 18 Jun 2018 08:47:33 +0000 (+0900) Subject: conf: remove unused argument X-Git-Tag: lxc-3.1.0~241^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2416%2Fhead;p=thirdparty%2Flxc.git conf: remove unused argument Signed-off-by: Donghwa Jeong --- diff --git a/src/lxc/conf.c b/src/lxc/conf.c index f3feae7df..f37e52635 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -947,7 +947,7 @@ static int lxc_setup_ttys(struct lxc_conf *conf) return 0; } -int lxc_allocate_ttys(const char *name, struct lxc_conf *conf) +int lxc_allocate_ttys(struct lxc_conf *conf) { int i, ret; struct lxc_tty_info *ttys = &conf->ttys; @@ -1062,7 +1062,7 @@ static int lxc_create_ttys(struct lxc_handler *handler) int ret = -1; struct lxc_conf *conf = handler->conf; - ret = lxc_allocate_ttys(handler->name, conf); + ret = lxc_allocate_ttys(conf); if (ret < 0) { ERROR("Failed to allocate ttys"); goto on_error;