diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-05-28 23:02:18 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-06-02 14:55:28 +0200 |
commit | 13985b1f77d09623f4114ce2d57e69a027ed9a09 (patch) | |
tree | 0db3eca64023ec9af8b2c3e7214a609a96cf2834 /net/sunrpc | |
parent | SUNRPC: drop stale doc comments in xprtsock.c (diff) | |
download | linux-13985b1f77d09623f4114ce2d57e69a027ed9a09.tar.xz linux-13985b1f77d09623f4114ce2d57e69a027ed9a09.zip |
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