OSDN Git Service

staging: lustre: lustre: obdclass: Modify return statement
authorAnchal Jain <anchalj109@gmail.com>
Fri, 9 Sep 2016 15:02:16 +0000 (20:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 10:29:27 +0000 (12:29 +0200)
commitac4455e09b21572fd0c63d54ef76328f36d39cec
tree5ef2f146c4b405d72bd1131fe9e0602c6f1d11ac
parente62641475b20a3a7a65491dcf4cb9b10e5ee9567
staging: lustre: lustre: obdclass: Modify return statement

Modify the return statement.
The Coccinelle semantic patch used to make this change is as follows:

@@
expression e, ret;
@@

-ret =
+return
     e;
-return ret;

Delete the declaration of the return variable rc, as it is no longer used.

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_cat.c