aboutsummaryrefslogtreecommitdiff
path: root/CREDITS
diff options
context:
space:
mode:
authorGravatar NeilBrown <neilb@suse.com> 2017-10-23 11:53:49 +1100
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2017-11-03 15:00:34 +0100
commit4a8d3fb10dd758af27984ef92a44e619d598c3e0 (patch)
tree2ffef76b4a4c937c0128a69cdb5bf762ba06c5fd /CREDITS
parentstaging: lustre: ldlm: tidy list walking in ldlm_flock() (diff)
downloadlinux-4a8d3fb10dd758af27984ef92a44e619d598c3e0.tar.gz
linux-4a8d3fb10dd758af27984ef92a44e619d598c3e0.tar.bz2
linux-4a8d3fb10dd758af27984ef92a44e619d598c3e0.zip
staging: lustre: ldlm: remove unnecessary 'ownlocks' variable.
Now that the code has been simplified, 'ownlocks' is not necessary. The loop which sets it exits with 'lock' having the same value as 'ownlocks', or pointing to the head of the list if ownlocks is NULL. The current code then tests ownlocks and sets 'lock' to exactly the value that it currently has. So discard 'ownlocks'. Also remove unnecessary initialization of 'lock'. Signed-off-by: NeilBrown <neilb@suse.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions