diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-09-04 17:32:43 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-06 18:10:22 -0700 |
commit | 17f01391903de08c8a33407de9f502fc1cc8b5ff (patch) | |
tree | af01b180167b41b0e37e9c0b6cf0fc2a584680e9 /net/unix/af_unix.c | |
parent | 2a7dd251b6fee7bcd2a3978600eaa98dd2b7b481 (diff) |
net/core: 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-6-lihongbo22@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions