[CRIU] Re: [PATCH 1/4] pipes: Drop unused find_pipe(int id)

Pavel Emelyanov xemul at parallels.com
Thu Apr 12 06:19:22 EDT 2012


On 04/12/2012 01:45 PM, Cyrill Gorcunov wrote:
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  pipes.c |    8 --------
>  1 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/pipes.c b/pipes.c
> index d494751..8db1678 100644
> --- a/pipes.c
> +++ b/pipes.c
> @@ -27,14 +27,6 @@ struct pipe_info {
>  
>  static LIST_HEAD(pipes);
>  
> -static struct pipe_info *find_pipe(int id)
> -{
> -	struct file_desc *fd;
> -
> -	fd = find_file_desc_raw(FDINFO_PIPE, id);
> -	return container_of(fd, struct pipe_info, d);
> -}
> -
>  static int open_pipe(struct file_desc *d);
>  static int pipe_should_open_transport(struct fdinfo_entry *fe,
>  		struct file_desc *d);

Applied


More information about the CRIU mailing list