gazelle/0027-clean-useless-code.patch
2023-11-04 11:56:37 +08:00

28 lines
763 B
Diff

From 0398acfead1f6c118234559b3473ace2c5676015 Mon Sep 17 00:00:00 2001
From: compile_success <980965867@qq.com>
Date: Thu, 26 Oct 2023 13:20:03 +0000
Subject: [PATCH] clean useless code
---
src/lstack/core/lstack_dpdk.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/lstack/core/lstack_dpdk.c b/src/lstack/core/lstack_dpdk.c
index a53e85c..48fa67d 100644
--- a/src/lstack/core/lstack_dpdk.c
+++ b/src/lstack/core/lstack_dpdk.c
@@ -740,10 +740,6 @@ int32_t init_dpdk_ethdev(void)
return -1;
}
- /* 20: sleep for lacp ,this is a temp plan, it will be changed in future */
- int wait_lacp = 20;
- sleep(wait_lacp);
-
} else {
ret = dpdk_ethdev_init(0, 0);
if (ret != 0) {
--
2.27.0