Skip to content

Commit f3de19a

Browse files
YueHaibingdavem330
authored andcommitted
net/tls: remove unused function tls_sw_sendpage_locked
There are no in-tree callers. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fda497e commit f3de19a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

net/tls/tls_sw.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,16 +1143,6 @@ int tls_sw_do_sendpage(struct sock *sk, struct page *page,
11431143
return copied ? copied : ret;
11441144
}
11451145

1146-
int tls_sw_sendpage_locked(struct sock *sk, struct page *page,
1147-
int offset, size_t size, int flags)
1148-
{
1149-
if (flags & ~(MSG_MORE | MSG_DONTWAIT | MSG_NOSIGNAL |
1150-
MSG_SENDPAGE_NOTLAST | MSG_SENDPAGE_NOPOLICY))
1151-
return -ENOTSUPP;
1152-
1153-
return tls_sw_do_sendpage(sk, page, offset, size, flags);
1154-
}
1155-
11561146
int tls_sw_sendpage(struct sock *sk, struct page *page,
11571147
int offset, size_t size, int flags)
11581148
{

0 commit comments

Comments
 (0)