From ce10beab87dafafea4f54bb98892615461b8e7ef Mon Sep 17 00:00:00 2001
From: wu-changsheng <wuchangsheng2@huawei.com>
Date: Tue, 26 Jul 2022 17:49:36 +0800
Subject: [PATCH] del-redundant-wait_close-and-move-epoll_events-pos

---
 src/include/lwipsock.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/include/lwipsock.h b/src/include/lwipsock.h
index c10ae83..c6702fc 100644
--- a/src/include/lwipsock.h
+++ b/src/include/lwipsock.h
@@ -99,12 +99,11 @@ struct lwip_sock {
   struct list_node recv_list __rte_cache_aligned;
   struct list_node event_list __rte_cache_aligned;
   struct list_node send_list __rte_cache_aligned;
+  uint32_t epoll_events; /* registered events, EPOLLONESHOT write frequently */
   char pad __rte_cache_aligned;
 
-  uint32_t epoll_events; /* registered events */
   struct wakeup_poll *wakeup;
   epoll_data_t ep_data;
-  bool wait_close;
   struct lwip_sock *listen_next; /* listenfd list */
   struct protocol_stack *stack;
   struct rte_ring *recv_ring;
-- 
2.23.0

