]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
remove spd_release_page()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 Oct 2016 23:23:50 +0000 (19:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 27 Dec 2016 04:53:33 +0000 (23:53 -0500)
no users left

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/splice.c
include/linux/splice.h

index 873d83104e79aed14a24c417f211e38ae4038122..bf17a92e26c3e97db7bb198b42d7c620f4bd80a5 100644 (file)
@@ -244,11 +244,6 @@ ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf)
 }
 EXPORT_SYMBOL(add_to_pipe);
 
-void spd_release_page(struct splice_pipe_desc *spd, unsigned int i)
-{
-       put_page(spd->pages[i]);
-}
-
 /*
  * Check if we need to grow the arrays holding pages and partial page
  * descriptions.
index 00a21166e268b50f812807bc7e899360cb65febc..647243bdd9d7fb4a518d95cf04470f73913c7f24 100644 (file)
@@ -82,7 +82,6 @@ extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
  */
 extern int splice_grow_spd(const struct pipe_inode_info *, struct splice_pipe_desc *);
 extern void splice_shrink_spd(struct splice_pipe_desc *);
-extern void spd_release_page(struct splice_pipe_desc *, unsigned int);
 
 extern const struct pipe_buf_operations page_cache_pipe_buf_ops;
 extern const struct pipe_buf_operations default_pipe_buf_ops;