summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/TODO
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-10-23 11:53:49 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-03 15:00:34 +0100
commit4a8d3fb10dd758af27984ef92a44e619d598c3e0 (patch)
tree2ffef76b4a4c937c0128a69cdb5bf762ba06c5fd /drivers/staging/comedi/TODO
parent3ac5a675caf4dde2788a7a1ac32b95986bffe901 (diff)
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 'drivers/staging/comedi/TODO')
0 files changed, 0 insertions, 0 deletions