tls: rx: drop pointless else after goto
Pointless else branch after goto makes the code harder to refactor down the line. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bfc06e1aaa
commit
d5123edd10
@ -1789,10 +1789,9 @@ int tls_sw_recvmsg(struct sock *sk,
|
|||||||
if (err < 0) {
|
if (err < 0) {
|
||||||
tls_err_abort(sk, err);
|
tls_err_abort(sk, err);
|
||||||
goto end;
|
goto end;
|
||||||
} else {
|
|
||||||
copied = err;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
copied = err;
|
||||||
if (len <= copied)
|
if (len <= copied)
|
||||||
goto end;
|
goto end;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user