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