]> git.infradead.org Git - users/hch/misc.git/commit
net/sunrpc: make use of the helper macro LIST_HEAD()
authorHongbo Li <lihongbo22@huawei.com>
Tue, 27 Aug 2024 09:52:18 +0000 (17:52 +0800)
committerAnna Schumaker <anna.schumaker@oracle.com>
Mon, 23 Sep 2024 19:03:13 +0000 (15:03 -0400)
commit64a3ab99675ef7b833f64cd3b84db66b6a351529
tree08c6a4cf8d6ae31a60e6a1fe0063861f5ccb8974
parent2e001972e8ebc318de3b5542887ac06ea309aff8
net/sunrpc: 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>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
net/sunrpc/cache.c