]> asedeno.scripts.mit.edu Git - linux.git/commit
tls: Remove dead code in tls_sw_sendmsg
authorDoron Roberts-Kedes <doronrk@fb.com>
Thu, 26 Jul 2018 14:59:35 +0000 (07:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jul 2018 05:53:31 +0000 (22:53 -0700)
commit5a3611efe5b3095f348c892d040202b2ae969f4e
treeaea29e46fc5a62806b4571de523c6fb19d730f9c
parent37b81dc5ed31d497a6f1ab2bf8578f2343b349ef
tls: Remove dead code in tls_sw_sendmsg

tls_push_record either returns 0 on success or a negative value on failure.
This patch removes code that would only be executed if tls_push_record
were to return a positive value.

Signed-off-by: Doron Roberts-Kedes <doronrk@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c