summaryrefslogtreecommitdiffstats
path: root/fs/splice.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-10-13 01:23:50 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-12-27 05:53:33 +0100
commit23c832b10ca9ab2685d7d3e0990800ffc846fc92 (patch)
treec27db3279ba2fed25678aa79661aa115beed7da1 /fs/splice.c
parentarm64: don't pull uaccess.h into *.S (diff)
downloadlinux-23c832b10ca9ab2685d7d3e0990800ffc846fc92.tar.xz
linux-23c832b10ca9ab2685d7d3e0990800ffc846fc92.zip
remove spd_release_page()
no users left Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/splice.c')
-rw-r--r--fs/splice.c5
1 files changed, 0 insertions, 5 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)
}
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.