net/tls: remove unnecessary jump instructions in do_tls_setsockopt_conf()
authorZiyang Xuan <william.xuanziyang@huawei.com>
Sat, 19 Mar 2022 03:14:33 +0000 (11:14 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 21 Mar 2022 21:58:13 +0000 (14:58 -0700)
commit1ddcbfbf9dc9b59258dc5a4429f607a6828863d0
treef52a033fbdfc76f28321a102fed876780ed2d351
parent351bdbb6419ca988802882badadc321d384d0254
net/tls: remove unnecessary jump instructions in do_tls_setsockopt_conf()

Avoid using "goto" jump instruction unconditionally when we
can return directly. Remove unnecessary jump instructions in
do_tls_setsockopt_conf().

Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_main.c