dlm: remove unnecessary INIT_LIST_HEAD()
authorAlexander Aring <aahringo@redhat.com>
Mon, 4 Apr 2022 20:06:35 +0000 (16:06 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 6 Apr 2022 19:02:13 +0000 (14:02 -0500)
commit16d58904dfeb13cc9758194df99cb1a756f11fbc
treef5d6d27dc777a8ec6e48e0018ca2191126a29639
parentbcfad4265cedf3adcac355e994ef9771b78407bd
dlm: remove unnecessary INIT_LIST_HEAD()

There is no need to call INIT_LIST_HEAD() when it's set directly
afterwards by list_add_tail().

Reported-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/plock.c