diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-05-29 00:02:18 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-02 15:55:28 +0300 |
commit | 13985b1f77d09623f4114ce2d57e69a027ed9a09 (patch) | |
tree | 0db3eca64023ec9af8b2c3e7214a609a96cf2834 /net/sunrpc | |
parent | 9300fdba250cbb71574eb3c6af2540219d926717 (diff) | |
download | linux-13985b1f77d09623f4114ce2d57e69a027ed9a09.tar.xz |
NFS: 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>
Also drop the unnecessary ret variable.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions