lxc/0090-lxc-remove-unused-variable.patch
2019-12-25 15:57:42 +08:00

27 lines
748 B
Diff

From 720b4a937fcd74bfdd1bd07e68b80eaa566bd6ee Mon Sep 17 00:00:00 2001
From: maoweiyong <maoweiyong@huawei.com>
Date: Thu, 25 Apr 2019 21:21:12 +0800
Subject: [PATCH 090/131] lxc: remove unused variable
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
index 2b0d43ea..3657d4eb 100644
--- 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);
--
2.23.0