staging: lustre: llite: removed uneeded return variables
authorJuliana Rodrigues <juliana.orod@gmail.com>
Fri, 23 Sep 2016 03:21:55 +0000 (00:21 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2016 12:11:46 +0000 (14:11 +0200)
commit6f7fd0953cf9c2bb1cc7ef5a8810e0ddf5827dc5
treeb4540f9ed9f75aef589d9c2d84e99fd8f4f813a6
parent57fd9569d35350a31ed2493baf9d9c010b9d22fa
staging: lustre: llite: removed uneeded return variables

Removed variables used only for return purposes and replaced them for
the return value itself. Found using Coccinelle's semantic patch:

@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Signed-off-by: Juliana Rodrigues <juliana.orod@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/file.c