2020-01-05 22:20:49 -05:00
|
|
|
From 9e36bb4d725edd77b84e2d9f2d0e07db69d6af33 Mon Sep 17 00:00:00 2001
|
2019-09-30 11:03:07 -04:00
|
|
|
From: maoweiyong <maoweiyong@huawei.com>
|
|
|
|
|
Date: Thu, 25 Apr 2019 21:21:12 +0800
|
2020-01-05 22:20:49 -05:00
|
|
|
Subject: [PATCH 090/138] lxc: remove unused variable
|
2019-09-30 11:03:07 -04:00
|
|
|
|
|
|
|
|
Signed-off-by: maoweiyong <maoweiyong@huawei.com>
|
|
|
|
|
---
|
|
|
|
|
src/lxc/start.c | 2 --
|
|
|
|
|
1 file changed, 2 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/src/lxc/start.c b/src/lxc/start.c
|
2020-01-05 22:20:49 -05:00
|
|
|
index 2b0d43e..3657d4e 100644
|
2019-09-30 11:03:07 -04:00
|
|
|
--- a/src/lxc/start.c
|
|
|
|
|
+++ b/src/lxc/start.c
|
|
|
|
|
@@ -2824,8 +2824,6 @@ int do_lxcapi_get_pids(char *name, char *lxcpath, struct lxc_conf *conf, pid_t *
|
|
|
|
|
{
|
|
|
|
|
int ret = 0;
|
|
|
|
|
struct lxc_handler *handler = NULL;
|
|
|
|
|
- int retry_count = 0;
|
|
|
|
|
- int max_retry = 10;
|
|
|
|
|
struct cgroup_ops *cg_ops = NULL;
|
|
|
|
|
|
|
|
|
|
handler = lxc_init_pids_handler(name, lxcpath, conf);
|
|
|
|
|
--
|
2020-01-05 22:20:49 -05:00
|
|
|
1.8.3.1
|
2019-09-30 11:03:07 -04:00
|
|
|
|