sctp: remove the out_nounlock label in sctp_setsockopt
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 07:22:28 +0000 (09:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2020 01:26:44 +0000 (18:26 -0700)
commit6c8983a606622b61a429830091fdfe643328b96a
tree5777c2bb4290c44013dabc658d1e43e890a80f5a
parent26feba8090773550f255aed911d8f824ca42b7eb
sctp: remove the out_nounlock label in sctp_setsockopt

This is just used once, and a direct return for the redirect to the AF
case is much easier to follow than jumping to the end of a very long
function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c