staging: lustre: fid,fld: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 30 Aug 2014 14:41:23 +0000 (16:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 19:24:59 +0000 (12:24 -0700)
commit89180ca750f42ca701d7851e431c7b4cfc298b81
tree12c471ec641e525f8b9c85e14d4e393ccb25bce6
parent34e1f2bb1e7ab87c2b950189f7ccae57a72f25a8
staging: lustre: fid,fld: 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/fid/fid_request.c
drivers/staging/lustre/lustre/fld/fld_request.c
This page took 0.025627 seconds and 5 git commands to generate.