Commit 7f5da731 authored by Pavel Emelyanov's avatar Pavel Emelyanov Committed by Cyrill Gorcunov

fdinfo: Remove unused variables from receive_fd

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent a2d5b881
...@@ -407,10 +407,7 @@ static int recv_fd(int sock) ...@@ -407,10 +407,7 @@ static int recv_fd(int sock)
static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi) static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi)
{ {
int tmp, fd; int tmp;
int sock;
struct sockaddr_un saddr;
socklen_t address_length;
if (fi->pid == pid) { if (fi->pid == pid) {
tmp = dup2(fi->addr, fe->addr); tmp = dup2(fi->addr, fe->addr);
......
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