staging: lustre: ldlm: use list_for_each_entry in ldlm_lock.c
authorNeilBrown <neilb@suse.com>
Mon, 30 Oct 2017 04:59:27 +0000 (15:59 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:37 +0000 (09:20 +0100)
commit557d001aa51fd6171d7a68dec21f8327fc824173
treecfaed0a6216ca429527e364cb3f2dd65dc3d2513
parentef7e70ae9943c92ea09b2200c0e43aba0d47c4b7
staging: lustre: ldlm: use list_for_each_entry in ldlm_lock.c

This makes some slightly-confusing code a bit clearer, and
avoids the need for 'tmp'.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c