SUNRPC: Clean up xs_tcp_setup_sock()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Oct 2021 16:05:48 +0000 (12:05 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 1 Nov 2021 15:00:30 +0000 (11:00 -0400)
commit280254b605ffb6ec88f33b43a360aa6b5247bef7
tree376c781548902c7a380e9063163191b1e6f6abc0
parentea9afca88bbea26f23697b3305789f77f0341d23
SUNRPC: Clean up xs_tcp_setup_sock()

Move the error handling into a single switch statement for clarity.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c