staging: lustre: osc: remove final uses of the GOTO macro
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 9 Nov 2014 09:06:32 +0000 (10:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Nov 2014 18:55:00 +0000 (10:55 -0800)
commit490e0e898ba4c625bbf53d691cb8554a1a494063
tree43c1ff19d58fb59e24847ae34f6827585ab63277
parent337832b7919469db17d3ebf60e3875e6915cae75
staging: lustre: osc: remove final uses of 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>

In one case (OES_INV), consecutive gotos were factorized and a break was
removed.

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