]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre/mdc: drop unneeded goto
authorJulia Lawall <Julia.Lawall@lip6.fr>
Thu, 28 May 2015 21:02:23 +0000 (23:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 May 2015 02:28:48 +0000 (11:28 +0900)
commit6704ecabd6311a795ced25676a743f249c1e4a75
treeef751facd129c009da081bead9453618bb85e57a
parenteb383ac7eedb04c7efa2e77cfe143a544253c942
staging/lustre/mdc: drop unneeded goto

Delete jump to a label on the next line, when that label is not
used elsewhere.

A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r@
identifier l;
@@

-if (...) goto l;
-l:
// </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_request.c