]> 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)
commit62739333b7ab39d83860684144504dec0dc6b218
treef1f356c2de8da73ba17eeb2f0ddd86623de24361
parent301ce467bd621ad9fc160a3675240ef5fb81c882
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