staging: lustre: ldlm: use list_first_entry in ldlm_lockd.c
authorNeilBrown <neilb@suse.com>
Wed, 13 Dec 2017 03:15:54 +0000 (14:15 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:32:12 +0000 (12:32 +0100)
commit7378caf4fe5198ce572654c926437fba12fb2255
tree779ee57b50388deba3a67c0e21673914dea9af8d
parent7b38c293d61658f765ccd3067d35114ab10c50aa
staging: lustre: ldlm: use list_first_entry in ldlm_lockd.c

This is only a small simplification, but it makes the code
a little clearer.

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