diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-12 19:23:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-26 23:53:33 -0500 |
commit | 23c832b10ca9ab2685d7d3e0990800ffc846fc92 (patch) | |
tree | c27db3279ba2fed25678aa79661aa115beed7da1 | |
parent | b4b8664d291ac1998e0f0bcdc96b6397f0fe68b3 (diff) |
remove spd_release_page()
no users left
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/splice.c | 5 | ||||
-rw-r--r-- | include/linux/splice.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fs/splice.c b/fs/splice.c index 873d83104e79..bf17a92e26c3 100644 --- a/fs/splice.c +++ b/fs/splice.c | |||
@@ -244,11 +244,6 @@ ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf) | |||
244 | } | 244 | } |
245 | EXPORT_SYMBOL(add_to_pipe); | 245 | EXPORT_SYMBOL(add_to_pipe); |
246 | 246 | ||
247 | void spd_release_page(struct splice_pipe_desc *spd, unsigned int i) | ||
248 | { | ||
249 | put_page(spd->pages[i]); | ||
250 | } | ||
251 | |||
252 | /* | 247 | /* |
253 | * Check if we need to grow the arrays holding pages and partial page | 248 | * Check if we need to grow the arrays holding pages and partial page |
254 | * descriptions. | 249 | * descriptions. |
diff --git a/include/linux/splice.h b/include/linux/splice.h index 00a21166e268..647243bdd9d7 100644 --- a/include/linux/splice.h +++ b/include/linux/splice.h | |||
@@ -82,7 +82,6 @@ extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *, | |||
82 | */ | 82 | */ |
83 | extern int splice_grow_spd(const struct pipe_inode_info *, struct splice_pipe_desc *); | 83 | extern int splice_grow_spd(const struct pipe_inode_info *, struct splice_pipe_desc *); |
84 | extern void splice_shrink_spd(struct splice_pipe_desc *); | 84 | extern void splice_shrink_spd(struct splice_pipe_desc *); |
85 | extern void spd_release_page(struct splice_pipe_desc *, unsigned int); | ||
86 | 85 | ||
87 | extern const struct pipe_buf_operations page_cache_pipe_buf_ops; | 86 | extern const struct pipe_buf_operations page_cache_pipe_buf_ops; |
88 | extern const struct pipe_buf_operations default_pipe_buf_ops; | 87 | extern const struct pipe_buf_operations default_pipe_buf_ops; |