staging: lustre: mgc: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 28 Aug 2014 18:03:37 +0000 (20:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 19:10:15 +0000 (12:10 -0700)
commit74d3ba9822fd95ddd6dbb97c9a7d3d928791a7be
treeef407f6d752d702167523afc66bee6a8edea698a
parent36b7d8e62269a9da130f447354840f3a37b5470d
staging: lustre: mgc: expand the GOTO macro

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier lbl;
identifier rc;
constant c;
@@

- GOTO(lbl,\(rc\|c\));
+ goto lbl;

@@
identifier lbl;
expression rc;
@@

- GOTO(lbl,rc);
+ rc;
+ goto lbl;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mgc/mgc_request.c