Commit d5123edd authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller

tls: rx: drop pointless else after goto

Pointless else branch after goto makes the code harder to refactor
down the line.
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bfc06e1a
......@@ -1789,10 +1789,9 @@ int tls_sw_recvmsg(struct sock *sk,
if (err < 0) {
tls_err_abort(sk, err);
goto end;
} else {
copied = err;
}
copied = err;
if (len <= copied)
goto end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment