Staging: lustre: lustre: mdc: mdc_request: Removed useless variable
authorTina Johnson <tinajohnson.1234@gmail.com>
Sun, 14 Sep 2014 13:06:38 +0000 (18:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Sep 2014 17:02:19 +0000 (10:02 -0700)
commiteb9671261d02fa322f0b77a30442198ff05e564c
treef1f356c2de8da73ba17eeb2f0ddd86623de24361
parent727543d639efe4abb4be8ce56a1065c32dbac918
Staging: lustre: lustre: mdc: mdc_request: Removed useless variable

Variable rc is initialised and returned by the function without modifying.
Hence replaced rc with it's initial value in the return statement and
removed the variable.

Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/mdc_request.c