]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: lov: Cleanup lov_check_set() in lov_request.c
authorRiccardo Lucchese <riccardo.lucchese@gmail.com>
Mon, 21 Jul 2014 10:15:55 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:29:10 +0000 (12:29 -0700)
commitbd9cb12febe86124998314c4c2f08a0e6e1f80c3
treed1fc6c15bb1c4e39c7c09a66358d94255e9d99ba
parentf0ca3e87cc132b67c40ba1161cd02c8a2985ac4c
staging: lustre: lov: Cleanup lov_check_set() in lov_request.c

Make the code clearer by introducing a local variable and removing the
unnecessary 'if' statement.

Signed-off-by: Riccardo Lucchese <riccardo.lucchese@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_request.c