1 Star 0 Fork 32

compile_success/gazelle_3

forked from src-openEuler/gazelle 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0027-clean-useless-code.patch 763 Bytes
一键复制 编辑 原始数据 按行查看 历史
yinbin6 提交于 2023-11-04 11:56 . sync bond6
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/compile_success/gazelle_3.git
git@gitee.com:compile_success/gazelle_3.git
compile_success
gazelle_3
gazelle_3
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385