[CRIU] [PATCH 1/4] pipes: Drop unused find_pipe(int id)
Cyrill Gorcunov
gorcunov at openvz.org
Thu Apr 12 05:45:05 EDT 2012
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);
--
1.7.7.6
More information about the CRIU
mailing list