Skip to content

Commit

Permalink
net/tls: remove unused function tls_sw_sendpage_locked
Browse files Browse the repository at this point in the history
There are no in-tree callers.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
YueHaibing authored and David S. Miller committed Jan 17, 2019
1 parent fda497e commit f3de19a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions net/tls/tls_sw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1143,16 +1143,6 @@ int tls_sw_do_sendpage(struct sock *sk, struct page *page,
return copied ? copied : ret;
}

int tls_sw_sendpage_locked(struct sock *sk, struct page *page,
int offset, size_t size, int flags)
{
if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL |
MSG_SENDPAGE_NOTLAST | MSG_SENDPAGE_NOPOLICY))
return -ENOTSUPP;

return tls_sw_do_sendpage(sk, page, offset, size, flags);
}

int tls_sw_sendpage(struct sock *sk, struct page *page,
int offset, size_t size, int flags)
{
Expand Down

0 comments on commit f3de19a

Please sign in to comment.