diff options
author | 2024-09-04 17:32:39 +0800 | |
---|---|---|
committer | 2024-09-06 18:10:21 -0700 | |
commit | cecbe5c8c8039b2965c9fc27c802db6b9ec9dcb7 (patch) | |
tree | 1c3f2a4d0079ff6cf07812ff45d217eb9e4d31e7 /net/core/netdev-genl.c | |
parent | sfc: convert comma to semicolon (diff) | |
download | wireguard-linux-cecbe5c8c8039b2965c9fc27c802db6b9ec9dcb7.tar.xz wireguard-linux-cecbe5c8c8039b2965c9fc27c802db6b9ec9dcb7.zip |
net/ipv4: 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-2-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