]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: remove unused argument 2416/head
authorDonghwa Jeong <dh48.jeong@samsung.com>
Mon, 18 Jun 2018 08:47:33 +0000 (17:47 +0900)
committerDonghwa Jeong <dh48.jeong@samsung.com>
Mon, 18 Jun 2018 08:47:33 +0000 (17:47 +0900)
Signed-off-by: Donghwa Jeong <dh48.jeong@samsung.com>
src/lxc/conf.c

index f3feae7dff855a6db4154ef75a288d1c316a14b2..f37e526356532126995a02762dce209bc4c37aea 100644 (file)
@@ -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;