aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-05-22 13:11:23 +0100
committerJakub Kicinski <kuba@kernel.org>2023-05-23 20:48:27 -0700
commitc49cf26632910581ee1173d75c0fca322ccaf4bb (patch)
treefa01ed65d4e455f8cec3aa03496e198695320a01 /include/net/ip.h
parent7ac7c987850c3ec617c778f7bd871804dc1c648d (diff)
downloadlinux-c49cf26632910581ee1173d75c0fca322ccaf4bb.tar.gz
ip: Remove ip_append_page()
ip_append_page() is no longer used with the removal of udp_sendpage(), so remove it. Signed-off-by: David Howells <dhowells@redhat.com> cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com> cc: David Ahern <dsahern@kernel.org> cc: Jens Axboe <axboe@kernel.dk> cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r--include/net/ip.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index c3fffaa92d6e03..7627a4df893be0 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -220,8 +220,6 @@ int ip_append_data(struct sock *sk, struct flowi4 *fl4,
unsigned int flags);
int ip_generic_getfrag(void *from, char *to, int offset, int len, int odd,
struct sk_buff *skb);
-ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page,
- int offset, size_t size, int flags);
struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
struct sk_buff_head *queue,
struct inet_cork *cork);