]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bf5afbe8302d5e616526f2cbff4db537591ae9d
treef1f356c2de8da73ba17eeb2f0ddd86623de24361
parentf92c2b7462a4741de895ebdc1e4d8aeb09138a97
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