35 lines
970 B
Diff
35 lines
970 B
Diff
From bae01ffd9e3970490ff8ab407008219b9fb3988c Mon Sep 17 00:00:00 2001
|
|
From: Lemmy Huang <huangliming5@huawei.com>
|
|
Date: Mon, 29 May 2023 19:30:55 +0800
|
|
Subject: [PATCH] cleancode: refactor memp
|
|
|
|
Signed-off-by: Lemmy Huang <huangliming5@huawei.com>
|
|
---
|
|
src/lstack/core/lstack_protocol_stack.c | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/src/lstack/core/lstack_protocol_stack.c b/src/lstack/core/lstack_protocol_stack.c
|
|
index eea0a47..2fbe3eb 100644
|
|
--- a/src/lstack/core/lstack_protocol_stack.c
|
|
+++ b/src/lstack/core/lstack_protocol_stack.c
|
|
@@ -19,7 +19,6 @@
|
|
#include <lwip/sockets.h>
|
|
#include <lwip/init.h>
|
|
#include <lwip/tcp.h>
|
|
-#include <lwip/memp_def.h>
|
|
#include <lwipsock.h>
|
|
#include <lwip/gazelle_posix_api.h>
|
|
|
|
@@ -374,8 +373,6 @@ static struct protocol_stack *stack_thread_init(void *arg)
|
|
}
|
|
RTE_PER_LCORE(_lcore_id) = stack->cpu_id;
|
|
|
|
- sys_timer_init();
|
|
- hugepage_init();
|
|
lwip_init();
|
|
|
|
if (use_ltran()) {
|
|
--
|
|
2.23.0
|
|
|