]> git.baikalelectronics.ru Git - kernel.git/commit
svcrpc: clean up control flow
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 13 Aug 2012 22:01:03 +0000 (18:01 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 18:08:41 +0000 (14:08 -0400)
commit16a4caff2de9e9d122f01cb8c87d23a5e1cfbefb
tree0201d0d2014e93d7529148aaa64393d6a02cc7d9
parent672a3a51ad461e3d93d77de487c93b7a00322b58
svcrpc: clean up control flow

Mainly, use the kernel standard

err = -ERROR;
if (something_bad)
goto out;
normal case;

rather than

if (something_bad)
err = -ERROR
else {
normal case;
}

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c