mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-04 16:25:31 +00:00
net: Kill unused argument in open_net_ns()
Nobody uses it. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
ae291308ee
commit
b54c7d3d88
@@ -1933,7 +1933,7 @@ static int prepare_net_ns(int nsid)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int open_net_ns(struct ns_id *nsid, struct rst_info *rst)
|
static int open_net_ns(struct ns_id *nsid)
|
||||||
{
|
{
|
||||||
int fd, id;
|
int fd, id;
|
||||||
|
|
||||||
@@ -1972,7 +1972,7 @@ int prepare_net_namespaces()
|
|||||||
if (prepare_net_ns(nsid->id))
|
if (prepare_net_ns(nsid->id))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
if (open_net_ns(nsid, rsti(root_item)))
|
if (open_net_ns(nsid))
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user