From 663014ee7c151ef0920344c6d609042a7f4d7a57 Mon Sep 17 00:00:00 2001 From: Donghwa Jeong Date: Mon, 18 Jun 2018 17:47:33 +0900 Subject: [PATCH] conf: remove unused argument Signed-off-by: Donghwa Jeong --- src/lxc/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2