Skip to content

Commit

Permalink
remove spd_release_page()
Browse files Browse the repository at this point in the history
no users left

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Dec 27, 2016
1 parent b4b8664 commit 23c832b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion include/linux/splice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 23c832b

Please sign in to comment.