[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240904093243.3345012-1-lihongbo22@huawei.com>
Date: Wed, 4 Sep 2024 17:32:38 +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>,
<horms@...nel.org>
CC: <netdev@...r.kernel.org>, <netfilter-devel@...r.kernel.org>,
<lihongbo22@...wei.com>
Subject: [PATCH net-next v2 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.
Changes in v2:
- Keep the reverse xmas tree order as Simon's and
Pablo's suggested.
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