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)
commita8e10078a87c8a2c3c8d0f9856c0f74272fc0f74
tree0201d0d2014e93d7529148aaa64393d6a02cc7d9
parent72c3537607e42928f13691d59579ec840014b19e
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