lxc/0090-lxc-remove-unused-variable.patch
LiFeng c1c967d9bc lxc: make lxc-libs package
Signed-off-by: LiFeng <lifeng68@huawei.com>
2020-02-14 06:13:22 -05:00

27 lines
747 B
Diff

From c488db18d557594331fd8d2774d9e05eaeb57726 Mon Sep 17 00:00:00 2001
From: maoweiyong <maoweiyong@huawei.com>
Date: Thu, 25 Apr 2019 21:21:12 +0800
Subject: [PATCH 090/139] 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 2b0d43e..3657d4e 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);
--
1.8.3.1