]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda9c073c41e3f8bfa28f9f8e0a2517f9e3207423
tree5777c2bb4290c44013dabc658d1e43e890a80f5a
parent817c5c4af7fa36557180cf926cf1b69bb6445c06
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