wait: use LIST_HEAD_INIT() to initialize wait_queue_head
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 1 Jun 2021 15:11:20 +0000 (17:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 28 Jun 2021 13:42:25 +0000 (15:42 +0200)
commit77eccd0dfae353a64a2088d308bed3b373a4220f
tree63c4c397d31470e1f1d15f2216e6bb443a4fc087
parent459b09b5a3254008b63382bf41a9b36d0b590f57
wait: use LIST_HEAD_INIT() to initialize wait_queue_head

Replace the open-coded initialization with the right macro.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210601151120.329223-1-jwi@linux.ibm.com
include/linux/wait.h