projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fda497e
)
net/tls: remove unused function tls_sw_sendpage_locked
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 16 Jan 2019 02:39:27 +0000
(10:39 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Jan 2019 19:44:58 +0000
(11:44 -0800)
There are no in-tree callers.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c
patch
|
blob
|
history
diff --git
a/net/tls/tls_sw.c
b/net/tls/tls_sw.c
index 11cdc8f7db63c7d84d1a6befbafb7f4f491eb8c6..c4755388ed035712ef565202104b00fde1b95444 100644
(file)
--- a/
net/tls/tls_sw.c
+++ b/
net/tls/tls_sw.c
@@
-1143,16
+1143,6
@@
sendpage_end:
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)
{