mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
parasite: remove the useless BUG_ON
It's not required more, because parasite_status_t was removed. Signed-off-by: Andrey Vagin <avagin@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
3b8b68464a
commit
c74fb299d8
@@ -246,8 +246,6 @@ static int parasite_execute_by_pid(unsigned long cmd, struct parasite_ctl *ctl,
|
||||
if (args)
|
||||
memcpy(args, ctl->addr_args, args_size);
|
||||
|
||||
BUG_ON(ret && !args);
|
||||
|
||||
if (ret)
|
||||
pr_err("Parasite exited with %d\n", ret);
|
||||
|
||||
|
Reference in New Issue
Block a user