netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] make use of the helper macro LIST_HEAD()
@ 2024-08-27 10:04 Hongbo Li
  2024-08-27 10:04 ` [PATCH net-next 1/5] net/ipv4: " Hongbo Li
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Hongbo Li @ 2024-08-27 10:04 UTC (permalink / raw)
  To: davem, dsahern, edumazet, kuba, pabeni, jmaloy, ying.xue, pablo,
	kadlec
  Cc: netdev, netfilter-devel, lihongbo22

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-08-30  1:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27 10:04 [PATCH net-next 0/5] make use of the helper macro LIST_HEAD() Hongbo Li
2024-08-27 10:04 ` [PATCH net-next 1/5] net/ipv4: " Hongbo Li
2024-08-27 10:04 ` [PATCH net-next 2/5] net/tipc: " Hongbo Li
2024-08-27 16:57   ` Simon Horman
2024-08-30  1:17     ` Hongbo Li
2024-08-27 10:04 ` [PATCH net-next 3/5] net/netfilter: " Hongbo Li
2024-08-27 16:15   ` Pablo Neira Ayuso
2024-08-28  1:35     ` Hongbo Li
2024-08-28  6:52       ` Pablo Neira Ayuso
2024-08-27 10:04 ` [PATCH net-next 4/5] net/ipv6: " Hongbo Li
2024-08-27 10:04 ` [PATCH net-next 5/5] net/core: " Hongbo Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).