Staging: lustre: lustre: lmv: Removed variable that is not very useful.
authorHeena Sirwani <heenasirwani@gmail.com>
Tue, 7 Oct 2014 11:56:14 +0000 (17:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:10 +0000 (10:29 +0800)
commit5ed57d6dc6aab12515a8afc62e0d2cd0ae95c3f8
tree0d211f03d43117f00d4174adf7b7bab24bcbf2d0
parentf09b372b154391b70e571f4404ec45c014a01594
Staging: lustre: lustre: lmv: Removed variable that is not very useful.

The following patch removes a variable that is not very useful using
coccinelle.
The semantic patch used was:
@@
identifier ret;
@@

-int ret = 0;
 ... when != ret
     when strict
-return ret;
+return 0;

Signed-off-by: Heena Sirwani <heenasirwani@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lmv/lmv_obd.c