Commit fd04a302 authored by Andrey Vagin's avatar Andrey Vagin Committed by Cyrill Gorcunov

files: remove unused variable

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent af41c3f5
......@@ -413,8 +413,6 @@ static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi,
struct sockaddr_un saddr;
socklen_t address_length;
struct fdinfo_list_entry *fle;
if (fi->pid == pid) {
tmp = dup2(fi->addr, fe->addr);
if (tmp < 0) {
......@@ -423,7 +421,6 @@ static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi,
}
return 0;
}
fle = find_fdinfo_list_entry(pid, fe->addr, fi);
pr_info("\t%d: Receive fd for %lx type %d namelen %d users %d\n", pid,
(unsigned long)fe->addr, fe->type, fe->len, fi->users);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment