[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240827100407.3914090-1-lihongbo22@huawei.com>
Date: Tue, 27 Aug 2024 18:04:02 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: <davem@...emloft.net>, <dsahern@...nel.org>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <jmaloy@...hat.com>,
<ying.xue@...driver.com>, <pablo@...filter.org>, <kadlec@...filter.org>
CC: <netdev@...r.kernel.org>, <netfilter-devel@...r.kernel.org>,
<lihongbo22@...wei.com>
Subject: [PATCH net-next 0/5] make use of the helper macro LIST_HEAD()
The macro LIST_HEAD() declares a list variable and
initializes it, which can be used to simplify the steps
of list initialization, thereby simplifying the code.
These serials just do some equivalatent substitutions,
and with no functional modifications.
Hongbo Li (5):
net/ipv4: make use of the helper macro LIST_HEAD()
net/tipc: make use of the helper macro LIST_HEAD()
net/netfilter: make use of the helper macro LIST_HEAD()
net/ipv6: make use of the helper macro LIST_HEAD()
net/core: make use of the helper macro LIST_HEAD()
net/core/dev.c | 6 ++----
net/ipv4/ip_input.c | 6 ++----
net/ipv6/ip6_input.c | 6 ++----
net/netfilter/core.c | 4 +---
net/tipc/socket.c | 6 ++----
5 files changed, 9 insertions(+), 19 deletions(-)
--
2.34.1
Powered by blists - more mailing lists