Commit 31eab3e3 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrei Vagin

compel: nuke compel_main()

It is not used anywhere, so unless someone has any plans, let's kill it.
Reviewed-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Acked-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent aa39838c
......@@ -5,8 +5,6 @@
#include "asm/prologue.h"
extern int compel_main(void *arg_p, unsigned int arg_s);
static struct prologue_init_args *init_args;
static int ctl_socket = -1;
......@@ -73,9 +71,6 @@ int __export_std_compel_start(struct prologue_init_args *args,
}
}
if (!ret)
ret = compel_main(args->arg_p, args->arg_s);
for (; i > 0; i--) {
const plugin_init_t *d = init_array[i - 1];
......
......@@ -9,7 +9,6 @@
/*
* Stubs for std compel plugin.
*/
int compel_main(void *arg_p, unsigned int arg_s) { return 0; }
int parasite_trap_cmd(int cmd, void *args) { return 0; }
void parasite_cleanup(void) { }
......
......@@ -24,11 +24,6 @@
#include "restorer.h"
#include "infect-pie.h"
int compel_main(void *arg_p, unsigned int arg_s)
{
return 0;
}
/*
* PARASITE_CMD_DUMPPAGES is called many times and the parasite args contains
* an array of VMAs at this time, so VMAs can be unprotected in any moment
......
......@@ -70,11 +70,6 @@ bool fault_injected(enum faults f)
/*
* These are stubs for std compel plugin.
*/
int compel_main(void *arg_p, unsigned int arg_s)
{
return 0;
}
int parasite_daemon_cmd(int cmd, void *args)
{
return 0;
......
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