staging: lustre: mdc: expand the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 28 Aug 2014 10:10:35 +0000 (12:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Aug 2014 19:09:23 +0000 (12:09 -0700)
commitd5fdc207845b64584a71fb75edc04fdfee3bacbc
tree8aabf83cf602b60a1009e296afe370200ce19b94
parent4d54556f791318f49fed3b254ffd6248f35a207c
staging: lustre: mdc: 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/mdc/mdc_locks.c
drivers/staging/lustre/lustre/mdc/mdc_request.c