Staging: lustre: remove unneeded variable
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 15:55:15 +0000 (08:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 15:55:15 +0000 (08:55 -0700)
commitb5f00637784f09e524ca882e8d43d78e36da166b
treed0083f1785486088cea977fc8ac324c553110f90
parentedebf6199bfec7cdefc69a4178b760d09165a926
Staging: lustre: remove unneeded variable

ldlm_lock_enqueue() always returns ELDLM_OK, no matter what happens, so
removed the unneeded variable that this value was being stored in and
just return the value itself.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Oleg Drokin <oleg.drokin@intel.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
This page took 0.027165 seconds and 5 git commands to generate.