The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2416
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Hello, conf: remove unused argument Thanks. Signed-off-by: Donghwa Jeong <dh48.je...@samsung.com>
From 663014ee7c151ef0920344c6d609042a7f4d7a57 Mon Sep 17 00:00:00 2001 From: Donghwa Jeong <dh48.je...@samsung.com> Date: Mon, 18 Jun 2018 17:47:33 +0900 Subject: [PATCH] conf: remove unused argument Signed-off-by: Donghwa Jeong <dh48.je...@samsung.com> --- 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;
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel