diff options
author | 2024-09-04 17:32:40 +0800 | |
---|---|---|
committer | 2024-09-06 18:10:21 -0700 | |
commit | e636ba1a15e764f72ecb3c2a689feaa6c9fdd058 (patch) | |
tree | ed575d2a2666a482f25d2195d988269d41c383f0 /net/core/netdev-genl.c | |
parent | net/ipv4: make use of the helper macro LIST_HEAD() (diff) | |
download | wireguard-linux-e636ba1a15e764f72ecb3c2a689feaa6c9fdd058.tar.xz wireguard-linux-e636ba1a15e764f72ecb3c2a689feaa6c9fdd058.zip |
net/tipc: make use of the helper macro LIST_HEAD()
list_head can be initialized automatically with LIST_HEAD()
instead of calling INIT_LIST_HEAD(). Here we can simplify
the code.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240904093243.3345012-3-lihongbo22@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/netdev-genl.c')
0 files changed, 0 insertions, 0 deletions