net/tls: remove old exports of sk_destruct functions
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 25 Apr 2019 19:32:02 +0000 (12:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Apr 2019 20:52:21 +0000 (16:52 -0400)
commit9e9957973c7785b1f8fa77f099cac661cc5e7e5b
treefebdad4820e2828e24309f44ce1b5bed553ae52c
parente49d268db95b90f1fd97d4e3de1ec9f4bcfa8399
net/tls: remove old exports of sk_destruct functions

tls_device_sk_destruct being set on a socket used to indicate
that socket is a kTLS device one.  That is no longer true -
now we use sk_validate_xmit_skb pointer for that purpose.
Remove the export.  tls_device_attach() needs to be moved.

While at it, remove the dead declaration of tls_sk_destruct().

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_device.c