]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0764687014022c74aecbdcda00a2b2828c6887c
treed0083f1785486088cea977fc8ac324c553110f90
parent35c15d07933c029ebc83da1e5d3813ee888e519d
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