2019-12-25 15:57:42 +08:00
|
|
|
From 720b4a937fcd74bfdd1bd07e68b80eaa566bd6ee 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
|
2019-12-25 15:57:42 +08:00
|
|
|
Subject: [PATCH 090/131] 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
|
2019-12-25 15:57:42 +08:00
|
|
|
index 2b0d43ea..3657d4eb 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);
|
|
|
|
|
--
|
2019-12-25 15:57:42 +08:00
|
|
|
2.23.0
|
2019-09-30 11:03:07 -04:00
|
|
|
|